Top Description Fields Methods
org.aspectj.weaver

public Interface Member

extends Comparable<Member>
Known Direct Subinterfaces
org.aspectj.weaver.ResolvedMember
Known Direct Implementers
org.aspectj.weaver.MemberImpl
Imports
java.util.Collection

Abstract representation of a member (field/constructor/method) within a type.
Authors
PARC, Adrian Colyer, Andy Clement

Field Summary

Modifier and TypeField and Description
public static final MemberKind
public static final MemberKind
public static final MemberKind
public static final MemberKind
public static final MemberKind
public static final MemberKind
public static final MemberKind
public static final ResolvedType[][]
public static final AnnotationAJ[][]
public static final Member[]
public static final MemberKind
public static final MemberKind

Method Summary

Modifier and TypeMethod and Description
public boolean
canBeParameterized()

Returns true iff the member is generic (NOT parameterized)

public int
compareTo(Member
the object to be compared.
other
)

Redeclares java.lang.Comparable.compareTo.

Compares this object with the specified object for order.
public AnnotationAJ[]
public int
public UnresolvedType
public Collection<ResolvedType>
public UnresolvedType[]
public UnresolvedType[]
public UnresolvedType
public JoinPointSignatureIterator
public MemberKind

Returns:

the kind of member from those listed as MemberKind instances
getKind
()

public int
public int
public String
public String[]
public String
getParameterSignature()

Return signature without return type, e.g. "()" for a signature *with* the return type, use getSignature() - it is important to choose the right one in the face of covariance.

public UnresolvedType[]
public UnresolvedType
public String
getSignature()

Return full signature, including return type, e.g. "()LFastCar;".

public UnresolvedType
public ResolvedMember
resolve(World world)

Field Detail

ADVICEback to summary
public static final MemberKind ADVICE
CONSTRUCTORback to summary
public static final MemberKind CONSTRUCTOR
FIELDback to summary
public static final MemberKind FIELD
HANDLERback to summary
public static final MemberKind HANDLER
METHODback to summary
public static final MemberKind METHOD
MONITORENTERback to summary
public static final MemberKind MONITORENTER
MONITOREXITback to summary
public static final MemberKind MONITOREXIT
NO_PARAMETER_ANNOTATION_TYPESback to summary
public static final ResolvedType[][] NO_PARAMETER_ANNOTATION_TYPES
NO_PARAMETER_ANNOTATIONXSback to summary
public static final AnnotationAJ[][] NO_PARAMETER_ANNOTATIONXS
NONEback to summary
public static final Member[] NONE
POINTCUTback to summary
public static final MemberKind POINTCUT
STATIC_INITIALIZATIONback to summary
public static final MemberKind STATIC_INITIALIZATION

Method Detail

canBeParameterizedback to summary
public boolean canBeParameterized()

Returns true iff the member is generic (NOT parameterized)

compareToback to summary
public int compareTo(Member other)

Redeclares java.lang.Comparable.compareTo.

Doc from java.lang.Comparable.compareTo.

Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

The implementor must ensure signum(x.compareTo(y)) == -signum(y.compareTo(x)) for all x and y. (This implies that x.compareTo(y) must throw an exception if and only if y.compareTo(x) throws an exception.)

The implementor must also ensure that the relation is transitive: (x.compareTo(y) > 0 && y.compareTo(z) > 0) implies x.compareTo(z) > 0.

Finally, the implementor must ensure that x.compareTo(y)==0 implies that signum(x.compareTo(z)) == signum(y.compareTo(z)), for all z.

Parameters
other:Member

the object to be compared.

Returns:int

a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

getAnnotationsback to summary
public AnnotationAJ[] getAnnotations()
getArityback to summary
public int getArity()
getDeclaringTypeback to summary
public UnresolvedType getDeclaringType()
getDeclaringTypesback to summary
public Collection<ResolvedType> getDeclaringTypes(World world)
getExceptionsback to summary
public UnresolvedType[] getExceptions(World world)
getGenericParameterTypesback to summary
public UnresolvedType[] getGenericParameterTypes()
getGenericReturnTypeback to summary
public UnresolvedType getGenericReturnType()
getJoinPointSignaturesback to summary
public JoinPointSignatureIterator getJoinPointSignatures(World world)
getKindback to summary
public MemberKind getKind()
Returns:MemberKind

the kind of member from those listed as MemberKind instances

getModifiersback to summary
public int getModifiers(World world)
getModifiersback to summary
public int getModifiers()
getNameback to summary
public String getName()
getParameterNamesback to summary
public String[] getParameterNames(World world)
getParameterSignatureback to summary
public String getParameterSignature()

Return signature without return type, e.g. "()" for a signature *with* the return type, use getSignature() - it is important to choose the right one in the face of covariance.

getParameterTypesback to summary
public UnresolvedType[] getParameterTypes()
getReturnTypeback to summary
public UnresolvedType getReturnType()
getSignatureback to summary
public String getSignature()

Return full signature, including return type, e.g. "()LFastCar;". For a signature without the return type, use getParameterSignature() - it is important to choose the right one in the face of covariance.

getTypeback to summary
public UnresolvedType getType()
resolveback to summary
public ResolvedMember resolve(World world)