public interface Member extends Serializable
Modifier and Type | Field and Description |
---|---|
static Comparator<Member> |
SOURCE_NAME_COMPARATOR
Compares Members based solely on source name.
|
static Comparator<Member> |
TYPE_AND_SOURCE_NAME_COMPARATOR
Compares Members based on type and source name.
|
Modifier and Type | Method and Description |
---|---|
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 . |
MethodMember |
isMethod()
Returns the Member if it is a MethodMember or
null . |
static final Comparator<Member> SOURCE_NAME_COMPARATOR
TYPE_AND_SOURCE_NAME_COMPARATOR
, but is only appropriate for
use with homogeneous collections of Members.static final Comparator<Member> TYPE_AND_SOURCE_NAME_COMPARATOR
String getSourceName()
ClassMember isClass()
null
.FieldMember isField()
null
.MethodMember isMethod()
null
.Copyright © 2018. All rights reserved.