Package org.aspectj.weaver
Interface ResolvedMember
- All Superinterfaces:
AnnotatedElement
,Comparable<Member>
,Member
,TypeVariableDeclaringElement
- All Known Implementing Classes:
AtAjAttributes.LazyResolvedPointcutDefinition
,DeferredResolvedPointcutDefinition
,JoinPointSignature
,ReflectionBasedResolvedMemberImpl
,ResolvedMemberImpl
,ResolvedPointcutDefinition
-
Field Summary
Fields inherited from interface org.aspectj.weaver.Member
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, POINTCUT, STATIC_INITIALIZATION
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnotation
(AnnotationAJ annotation) boolean
void
int
getEnd()
getExceptions
(World world) Get the TypeXs of the parameter types, taking generic signature into accountGet the UnresolvedType for the return type, taking generic signature into accountint
int
getModifiers
(World world) AnnotationAJ[][]
ResolvedType[][]
String[]
String[]
getParameterNames
(World world) getSourceContext
(World world) int
getStart()
boolean
hasAnnotation
(UnresolvedType ofType) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isPublic()
boolean
boolean
boolean
isVisible
(ResolvedType fromType) boolean
matches
(ResolvedMember aCandidateMatch, boolean ignoreGenerics) Returns true if this member matches the other.parameterizedWith
(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized) parameterizedWith
(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized, List<String> aliases) void
setAnnotatedElsewhere
(boolean b) void
setAnnotations
(AnnotationAJ[] annotations) void
setAnnotationTypes
(ResolvedType[] annotationtypes) void
setCheckedExceptions
(UnresolvedType[] checkedExceptions) void
setParameterNames
(String[] names) void
setPosition
(int sourceStart, int sourceEnd) void
setSourceContext
(ISourceContext sourceContext) void
setTypeVariables
(TypeVariable[] types) void
Methods inherited from interface org.aspectj.weaver.AnnotatedElement
getAnnotationOfType
Methods inherited from interface org.aspectj.weaver.Member
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType, resolve
Methods inherited from interface org.aspectj.weaver.TypeVariableDeclaringElement
getTypeVariableNamed
-
Field Details
-
NONE
-
-
Method Details
-
getModifiers
- Specified by:
getModifiers
in interfaceMember
-
getModifiers
int getModifiers()- Specified by:
getModifiers
in interfaceMember
-
getExceptions
- Specified by:
getExceptions
in interfaceMember
-
getExceptions
UnresolvedType[] getExceptions() -
getAssociatedShadowMunger
ShadowMunger getAssociatedShadowMunger() -
isAjSynthetic
boolean isAjSynthetic() -
isCompatibleWith
-
hasAnnotation
- Specified by:
hasAnnotation
in interfaceAnnotatedElement
-
getAnnotations
AnnotationAJ[] getAnnotations()- Specified by:
getAnnotations
in interfaceMember
-
getAnnotationTypes
ResolvedType[] getAnnotationTypes()- Specified by:
getAnnotationTypes
in interfaceAnnotatedElement
-
setAnnotationTypes
-
addAnnotation
-
isBridgeMethod
boolean isBridgeMethod() -
isVarargsMethod
boolean isVarargsMethod() -
isSynthetic
boolean isSynthetic() -
write
- Throws:
IOException
-
getSourceContext
-
getParameterNames
String[] getParameterNames() -
setParameterNames
-
getParameterAnnotations
AnnotationAJ[][] getParameterAnnotations() -
getParameterAnnotationTypes
ResolvedType[][] getParameterAnnotationTypes() -
getAnnotationDefaultValue
String getAnnotationDefaultValue() -
getParameterSignatureErased
String getParameterSignatureErased() -
getSignatureErased
String getSignatureErased() -
getParameterNames
- Specified by:
getParameterNames
in interfaceMember
-
getEffectiveSignature
AjAttribute.EffectiveSignatureAttribute getEffectiveSignature() -
getSourceLocation
ISourceLocation getSourceLocation() -
getStart
int getStart() -
getEnd
int getEnd() -
getSourceContext
ISourceContext getSourceContext() -
setPosition
void setPosition(int sourceStart, int sourceEnd) -
setSourceContext
-
isAbstract
boolean isAbstract() -
isPublic
boolean isPublic() -
isDefault
boolean isDefault() -
isVisible
-
setCheckedExceptions
-
setAnnotatedElsewhere
void setAnnotatedElsewhere(boolean b) -
isAnnotatedElsewhere
boolean isAnnotatedElsewhere() -
toGenericString
String toGenericString() -
toDebugString
String toDebugString() -
hasBackingGenericMember
boolean hasBackingGenericMember() -
getBackingGenericMember
ResolvedMember getBackingGenericMember() -
getGenericReturnType
UnresolvedType getGenericReturnType()Get the UnresolvedType for the return type, taking generic signature into account- Specified by:
getGenericReturnType
in interfaceMember
-
getGenericParameterTypes
UnresolvedType[] getGenericParameterTypes()Get the TypeXs of the parameter types, taking generic signature into account- Specified by:
getGenericParameterTypes
in interfaceMember
-
equalsApartFromDeclaringType
-
parameterizedWith
ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized) -
parameterizedWith
ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized, List<String> aliases) -
setTypeVariables
-
getTypeVariables
TypeVariable[] getTypeVariables() -
matches
Returns true if this member matches the other. The matching takes into account name and parameter types only. When comparing parameter types, we allow any type variable to match any other type variable regardless of bounds. -
evictWeavingState
void evictWeavingState() -
parameterizedWith
-
isDefaultConstructor
boolean isDefaultConstructor() -
setAnnotations
-