Overview | Package | Class | Tree | Deprecated | Index | Help
| GWT 2.0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.core.ext.soyc
Interface Member

All Superinterfaces:
  java.io.Serializable

All Known Subinterfaces:
  ClassMember, FieldMember, FunctionMember, MethodMember

    public interface Member

extends java.io.Serializable

The Member type hierarchy represents structural or logical structures in the compiled output. Members don't have a getRange() function because the bytes derived from the member are likely disjoint.

Field Summary
`static java.util.Comparator<Member>` | `SOURCE_NAME_COMPARATOR` Compares Members based solely on source name.
`static java.util.Comparator<Member>` | `TYPE_AND_SOURCE_NAME_COMPARATOR` Compares Members based on type and source name.

Method Summary
`java.lang.String` | `getJsName()` Returns the (possibly obfuscated) identifier used in the output.
`java.lang.String` | `getSourceLocation()` Returns a description of where the source for the Member originated.
`java.lang.String` | `getSourceName()` Returns the name of the Member in the original source code.
`ClassMember` | `isClass()` Returns the Member if it is a ClassMember or `null`.
`FieldMember` | `isField()` Returns the Member if it is a FieldMember or `null`.
`FunctionMember` | `isFunction()` Returns the Member if it is a FunctionMember or `null`.
`MethodMember` | `isMethod()` Returns the Member if it is a MethodMember or `null`.

Field Detail

### SOURCE_NAME_COMPARATOR

    static final java.util.Comparator<Member> SOURCE_NAME_COMPARATOR

  Compares Members based solely on source name. This comparator is faster than `TYPE_AND_SOURCE_NAME_COMPARATOR`, but is only appropriate for use with homogeneous collections of Members.

### TYPE_AND_SOURCE_NAME_COMPARATOR

    static final java.util.Comparator<Member> TYPE_AND_SOURCE_NAME_COMPARATOR

  Compares Members based on type and source name.

Method Detail

### getJsName

    java.lang.String getJsName()

  Returns the (possibly obfuscated) identifier used in the output.

### getSourceLocation

    java.lang.String getSourceLocation()

  Returns a description of where the source for the Member originated. Usually, but not always, a URL.

### getSourceName

    java.lang.String getSourceName()

  Returns the name of the Member in the original source code.

### isClass

    ClassMember isClass()

  Returns the Member if it is a ClassMember or `null`.

### isField

    FieldMember isField()

  Returns the Member if it is a FieldMember or `null`.

### isFunction

    FunctionMember isFunction()

  Returns the Member if it is a FunctionMember or `null`.

### isMethod

    MethodMember isMethod()

  Returns the Member if it is a MethodMember or `null`.

Overview | Package | Class | Tree | Deprecated | Index | Help
| GWT 2.0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD