Package org.aspectj.weaver
Interface Member
- All Superinterfaces:
Comparable<Member>
- All Known Subinterfaces:
ResolvedMember
- All Known Implementing Classes:
AtAjAttributes.LazyResolvedPointcutDefinition
,DeferredResolvedPointcutDefinition
,EclipseResolvedMember
,JoinPointSignature
,MemberImpl
,ReflectionBasedResolvedMemberImpl
,ResolvedMemberImpl
,ResolvedPointcutDefinition
Abstract representation of a member (field/constructor/method) within a type.
- Author:
- PARC, Adrian Colyer, Andy Clement
-
Field Summary
Modifier and TypeFieldDescriptionstatic MemberKind
static MemberKind
static MemberKind
static MemberKind
static MemberKind
static MemberKind
static MemberKind
static ResolvedType[][]
static AnnotationAJ[][]
static Member[]
static MemberKind
static MemberKind
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true iff the member is generic (NOT parameterized)int
int
getArity()
getDeclaringTypes(World world)
getExceptions(World world)
getJoinPointSignatures(World world)
getKind()
int
int
getModifiers(World world)
getName()
String[]
getParameterNames(World world)
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.Return full signature, including return type, e.g. "()LFastCar;".getType()
-
Field Details
-
NONE
-
METHOD
-
FIELD
-
CONSTRUCTOR
-
STATIC_INITIALIZATION
-
POINTCUT
-
ADVICE
-
HANDLER
-
MONITORENTER
-
MONITOREXIT
-
NO_PARAMETER_ANNOTATIONXS
-
NO_PARAMETER_ANNOTATION_TYPES
-
-
Method Details
-
getKind
MemberKind getKind()- Returns:
- the kind of member from those listed as MemberKind instances
-
getName
String getName() -
getDeclaringType
UnresolvedType getDeclaringType() -
getParameterTypes
UnresolvedType[] getParameterTypes() -
getGenericParameterTypes
UnresolvedType[] getGenericParameterTypes() -
getType
UnresolvedType getType() -
getReturnType
UnresolvedType getReturnType() -
getGenericReturnType
UnresolvedType getGenericReturnType() -
getSignature
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. -
getJoinPointSignatures
-
getArity
int getArity() -
getParameterSignature
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. -
getModifiers
-
getModifiers
int getModifiers() -
canBeParameterized
boolean canBeParameterized()Returns true iff the member is generic (NOT parameterized) -
getAnnotations
AnnotationAJ[] getAnnotations() -
getDeclaringTypes
-
getParameterNames
-
getExceptions
-
resolve
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Member>
-