org.aspectj.weaver
Interface ResolvedMember
- All Superinterfaces:
- AnnotatedElement, java.lang.Comparable<Member>, Member, TypeVariableDeclaringElement
- All Known Implementing Classes:
- AtAjAttributes.LazyResolvedPointcutDefinition, DeferredResolvedPointcutDefinition, EclipseResolvedMember, JoinPointSignature, ReflectionBasedResolvedMemberImpl, ResolvedMemberImpl, ResolvedPointcutDefinition
public interface ResolvedMember
- extends Member, AnnotatedElement, TypeVariableDeclaringElement
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 |
void |
addAnnotation(AnnotationAJ annotation)
|
boolean |
equalsApartFromDeclaringType(java.lang.Object other)
|
void |
evictWeavingState()
|
java.lang.String |
getAnnotationDefaultValue()
|
AnnotationAJ[] |
getAnnotations()
|
ResolvedType[] |
getAnnotationTypes()
|
ShadowMunger |
getAssociatedShadowMunger()
|
ResolvedMember |
getBackingGenericMember()
|
AjAttribute.EffectiveSignatureAttribute |
getEffectiveSignature()
|
int |
getEnd()
|
UnresolvedType[] |
getExceptions()
|
UnresolvedType[] |
getExceptions(World world)
|
UnresolvedType[] |
getGenericParameterTypes()
Get the TypeXs of the parameter types, taking generic signature into account |
UnresolvedType |
getGenericReturnType()
Get the UnresolvedType for the return type, taking generic signature into account |
int |
getModifiers()
|
int |
getModifiers(World world)
|
AnnotationAJ[][] |
getParameterAnnotations()
|
ResolvedType[][] |
getParameterAnnotationTypes()
|
java.lang.String[] |
getParameterNames()
|
java.lang.String[] |
getParameterNames(World world)
|
java.lang.String |
getParameterSignatureErased()
|
java.lang.String |
getSignatureErased()
|
ISourceContext |
getSourceContext()
|
ISourceContext |
getSourceContext(World world)
|
ISourceLocation |
getSourceLocation()
|
int |
getStart()
|
TypeVariable[] |
getTypeVariables()
|
boolean |
hasAnnotation(UnresolvedType ofType)
|
boolean |
hasBackingGenericMember()
|
boolean |
isAbstract()
|
boolean |
isAjSynthetic()
|
boolean |
isAnnotatedElsewhere()
|
boolean |
isBridgeMethod()
|
boolean |
isCompatibleWith(Member am)
|
boolean |
isDefault()
|
boolean |
isDefaultConstructor()
|
boolean |
isPublic()
|
boolean |
isSynthetic()
|
boolean |
isVarargsMethod()
|
boolean |
isVisible(ResolvedType fromType)
|
boolean |
matches(ResolvedMember aCandidateMatch,
boolean ignoreGenerics)
Returns true if this member matches the other. |
ResolvedMember |
parameterizedWith(java.util.Map<java.lang.String,UnresolvedType> m,
World w)
|
ResolvedMemberImpl |
parameterizedWith(UnresolvedType[] typeParameters,
ResolvedType newDeclaringType,
boolean isParameterized)
|
ResolvedMemberImpl |
parameterizedWith(UnresolvedType[] typeParameters,
ResolvedType newDeclaringType,
boolean isParameterized,
java.util.List<java.lang.String> aliases)
|
void |
setAnnotatedElsewhere(boolean b)
|
void |
setAnnotations(AnnotationAJ[] annotations)
|
void |
setAnnotationTypes(ResolvedType[] annotationtypes)
|
void |
setCheckedExceptions(UnresolvedType[] checkedExceptions)
|
void |
setParameterNames(java.lang.String[] names)
|
void |
setPosition(int sourceStart,
int sourceEnd)
|
void |
setSourceContext(ISourceContext sourceContext)
|
void |
setTypeVariables(TypeVariable[] types)
|
java.lang.String |
toDebugString()
|
java.lang.String |
toGenericString()
|
void |
write(CompressingDataOutputStream s)
|
Methods inherited from interface org.aspectj.weaver.Member |
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType, resolve |
NONE
static final ResolvedMember[] NONE
getModifiers
int getModifiers(World world)
- Specified by:
getModifiers
in interface Member
getModifiers
int getModifiers()
- Specified by:
getModifiers
in interface Member
getExceptions
UnresolvedType[] getExceptions(World world)
- Specified by:
getExceptions
in interface Member
getExceptions
UnresolvedType[] getExceptions()
getAssociatedShadowMunger
ShadowMunger getAssociatedShadowMunger()
isAjSynthetic
boolean isAjSynthetic()
isCompatibleWith
boolean isCompatibleWith(Member am)
hasAnnotation
boolean hasAnnotation(UnresolvedType ofType)
- Specified by:
hasAnnotation
in interface AnnotatedElement
getAnnotations
AnnotationAJ[] getAnnotations()
- Specified by:
getAnnotations
in interface Member
getAnnotationTypes
ResolvedType[] getAnnotationTypes()
- Specified by:
getAnnotationTypes
in interface AnnotatedElement
setAnnotationTypes
void setAnnotationTypes(ResolvedType[] annotationtypes)
addAnnotation
void addAnnotation(AnnotationAJ annotation)
isBridgeMethod
boolean isBridgeMethod()
isVarargsMethod
boolean isVarargsMethod()
isSynthetic
boolean isSynthetic()
write
void write(CompressingDataOutputStream s)
throws java.io.IOException
- Throws:
java.io.IOException
getSourceContext
ISourceContext getSourceContext(World world)
getParameterNames
java.lang.String[] getParameterNames()
setParameterNames
void setParameterNames(java.lang.String[] names)
getParameterAnnotations
AnnotationAJ[][] getParameterAnnotations()
getParameterAnnotationTypes
ResolvedType[][] getParameterAnnotationTypes()
getAnnotationDefaultValue
java.lang.String getAnnotationDefaultValue()
getParameterSignatureErased
java.lang.String getParameterSignatureErased()
getSignatureErased
java.lang.String getSignatureErased()
getParameterNames
java.lang.String[] getParameterNames(World world)
- Specified by:
getParameterNames
in interface Member
getEffectiveSignature
AjAttribute.EffectiveSignatureAttribute getEffectiveSignature()
getSourceLocation
ISourceLocation getSourceLocation()
getStart
int getStart()
getEnd
int getEnd()
getSourceContext
ISourceContext getSourceContext()
setPosition
void setPosition(int sourceStart,
int sourceEnd)
setSourceContext
void setSourceContext(ISourceContext sourceContext)
isAbstract
boolean isAbstract()
isPublic
boolean isPublic()
isDefault
boolean isDefault()
isVisible
boolean isVisible(ResolvedType fromType)
setCheckedExceptions
void setCheckedExceptions(UnresolvedType[] checkedExceptions)
setAnnotatedElsewhere
void setAnnotatedElsewhere(boolean b)
isAnnotatedElsewhere
boolean isAnnotatedElsewhere()
toGenericString
java.lang.String toGenericString()
toDebugString
java.lang.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 interface Member
getGenericParameterTypes
UnresolvedType[] getGenericParameterTypes()
- Get the TypeXs of the parameter types, taking generic signature into account
- Specified by:
getGenericParameterTypes
in interface Member
equalsApartFromDeclaringType
boolean equalsApartFromDeclaringType(java.lang.Object other)
parameterizedWith
ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters,
ResolvedType newDeclaringType,
boolean isParameterized)
parameterizedWith
ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters,
ResolvedType newDeclaringType,
boolean isParameterized,
java.util.List<java.lang.String> aliases)
setTypeVariables
void setTypeVariables(TypeVariable[] types)
getTypeVariables
TypeVariable[] getTypeVariables()
matches
boolean matches(ResolvedMember aCandidateMatch,
boolean ignoreGenerics)
- 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
ResolvedMember parameterizedWith(java.util.Map<java.lang.String,UnresolvedType> m,
World w)
isDefaultConstructor
boolean isDefaultConstructor()
setAnnotations
void setAnnotations(AnnotationAJ[] annotations)