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
FieldsFields 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 TypeMethodDescriptionvoidaddAnnotation(AnnotationAJ annotation) booleanvoidintgetEnd()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 accountintintgetModifiers(World world) AnnotationAJ[][]ResolvedType[][]String[]String[]getParameterNames(World world) getSourceContext(World world) intgetStart()booleanhasAnnotation(UnresolvedType ofType) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisPublic()booleanbooleanbooleanisVisible(ResolvedType fromType) booleanmatches(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) voidsetAnnotatedElsewhere(boolean b) voidsetAnnotations(AnnotationAJ[] annotations) voidsetAnnotationTypes(ResolvedType[] annotationtypes) voidsetCheckedExceptions(UnresolvedType[] checkedExceptions) voidsetParameterNames(String[] names) voidsetPosition(int sourceStart, int sourceEnd) voidsetSourceContext(ISourceContext sourceContext) voidsetTypeVariables(TypeVariable[] types) voidMethods inherited from interface org.aspectj.weaver.AnnotatedElement
getAnnotationOfTypeMethods inherited from interface org.aspectj.weaver.Member
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType, resolveMethods inherited from interface org.aspectj.weaver.TypeVariableDeclaringElement
getTypeVariableNamed
-
Field Details
-
NONE
-
-
Method Details
-
getModifiers
- Specified by:
getModifiersin interfaceMember
-
getModifiers
int getModifiers()- Specified by:
getModifiersin interfaceMember
-
getExceptions
- Specified by:
getExceptionsin interfaceMember
-
getExceptions
UnresolvedType[] getExceptions() -
getAssociatedShadowMunger
ShadowMunger getAssociatedShadowMunger() -
isAjSynthetic
boolean isAjSynthetic() -
isCompatibleWith
-
hasAnnotation
- Specified by:
hasAnnotationin interfaceAnnotatedElement
-
getAnnotations
AnnotationAJ[] getAnnotations()- Specified by:
getAnnotationsin interfaceMember
-
getAnnotationTypes
ResolvedType[] getAnnotationTypes()- Specified by:
getAnnotationTypesin 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:
getParameterNamesin 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:
getGenericReturnTypein interfaceMember
-
getGenericParameterTypes
UnresolvedType[] getGenericParameterTypes()Get the TypeXs of the parameter types, taking generic signature into account- Specified by:
getGenericParameterTypesin 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
-