Package com.google.gwt.core.ext.soyc
Interface Member
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ClassMember
,FieldMember
,MethodMember
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
Modifier and TypeFieldDescriptionstatic final Comparator
<Member> Compares Members based solely on source name.static final Comparator
<Member> Compares Members based on type and source name. -
Method Summary
-
Field Details
-
SOURCE_NAME_COMPARATOR
Compares Members based solely on source name. This comparator is faster thanTYPE_AND_SOURCE_NAME_COMPARATOR
, but is only appropriate for use with homogeneous collections of Members. -
TYPE_AND_SOURCE_NAME_COMPARATOR
Compares Members based on type and source name.
-
-
Method Details
-
getSourceName
String getSourceName()Returns the name of the Member in the original source code. -
isClass
ClassMember isClass()Returns the Member if it is a ClassMember ornull
. -
isField
FieldMember isField()Returns the Member if it is a FieldMember ornull
. -
isMethod
MethodMember isMethod()Returns the Member if it is a MethodMember ornull
.
-