Package org.aspectj.weaver
Klasse JoinPointSignature
java.lang.Object
org.aspectj.weaver.JoinPointSignature
- Alle implementierten Schnittstellen:
Comparable<Member>
,AnnotatedElement
,Member
,ResolvedMember
,TypeVariableDeclaringElement
- Autor:
- colyer Instances of this class are created by ResolvedMember.getSignatures() when collating all of the signatures for a member. We need to create entries in the set for the "gaps" in the hierarchy. For example: class A { void foo(); } class B extends A {} Join Point : call(* B.foo()) has signatures: B.foo() AND A.foo() B.foo() will be created as a ResolvedMemberWithSubstituteDeclaringType Oh for a JDK 1.4 dynamic proxy.... we have to run on 1.3 :(
-
Feldübersicht
Von Schnittstelle geerbte Felder org.aspectj.weaver.Member
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, POINTCUT, STATIC_INITIALIZATION
Von Schnittstelle geerbte Felder org.aspectj.weaver.ResolvedMember
NONE
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addAnnotation
(AnnotationAJ annotation) boolean
Returns true iff the member is generic (NOT parameterized)int
boolean
boolean
void
getAnnotationOfType
(UnresolvedType ofType) int
getArity()
getDeclaringTypes
(World world) 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 accountgetJoinPointSignatures
(World world) getKind()
int
int
getModifiers
(World world) getName()
AnnotationAJ[][]
ResolvedType[][]
String[]
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;".getSourceContext
(World world) int
getStart()
getType()
getTypeVariableNamed
(String name) boolean
hasAnnotation
(UnresolvedType ofType) boolean
int
hashCode()
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
(Map m, World w) 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) toString()
void
-
Felddetails
-
EMPTY_ARRAY
-
-
Konstruktordetails
-
JoinPointSignature
-
-
Methodendetails
-
getDeclaringType
- Angegeben von:
getDeclaringType
in SchnittstelleMember
-
getModifiers
- Angegeben von:
getModifiers
in SchnittstelleMember
- Angegeben von:
getModifiers
in SchnittstelleResolvedMember
-
getModifiers
public int getModifiers()- Angegeben von:
getModifiers
in SchnittstelleMember
- Angegeben von:
getModifiers
in SchnittstelleResolvedMember
-
getExceptions
- Angegeben von:
getExceptions
in SchnittstelleMember
- Angegeben von:
getExceptions
in SchnittstelleResolvedMember
-
getExceptions
- Angegeben von:
getExceptions
in SchnittstelleResolvedMember
-
getAssociatedShadowMunger
- Angegeben von:
getAssociatedShadowMunger
in SchnittstelleResolvedMember
-
isAjSynthetic
public boolean isAjSynthetic()- Angegeben von:
isAjSynthetic
in SchnittstelleResolvedMember
-
hasAnnotation
- Angegeben von:
hasAnnotation
in SchnittstelleAnnotatedElement
- Angegeben von:
hasAnnotation
in SchnittstelleResolvedMember
-
getAnnotationTypes
- Angegeben von:
getAnnotationTypes
in SchnittstelleAnnotatedElement
- Angegeben von:
getAnnotationTypes
in SchnittstelleResolvedMember
-
getAnnotationOfType
- Angegeben von:
getAnnotationOfType
in SchnittstelleAnnotatedElement
-
setAnnotationTypes
- Angegeben von:
setAnnotationTypes
in SchnittstelleResolvedMember
-
setAnnotations
- Angegeben von:
setAnnotations
in SchnittstelleResolvedMember
-
addAnnotation
- Angegeben von:
addAnnotation
in SchnittstelleResolvedMember
-
isBridgeMethod
public boolean isBridgeMethod()- Angegeben von:
isBridgeMethod
in SchnittstelleResolvedMember
-
isVarargsMethod
public boolean isVarargsMethod()- Angegeben von:
isVarargsMethod
in SchnittstelleResolvedMember
-
isSynthetic
public boolean isSynthetic()- Angegeben von:
isSynthetic
in SchnittstelleResolvedMember
-
write
- Angegeben von:
write
in SchnittstelleResolvedMember
- Löst aus:
IOException
-
getSourceContext
- Angegeben von:
getSourceContext
in SchnittstelleResolvedMember
-
getParameterNames
- Angegeben von:
getParameterNames
in SchnittstelleResolvedMember
-
setParameterNames
- Angegeben von:
setParameterNames
in SchnittstelleResolvedMember
-
getParameterNames
- Angegeben von:
getParameterNames
in SchnittstelleMember
- Angegeben von:
getParameterNames
in SchnittstelleResolvedMember
-
getEffectiveSignature
- Angegeben von:
getEffectiveSignature
in SchnittstelleResolvedMember
-
getSourceLocation
- Angegeben von:
getSourceLocation
in SchnittstelleResolvedMember
-
getEnd
public int getEnd()- Angegeben von:
getEnd
in SchnittstelleResolvedMember
-
getSourceContext
- Angegeben von:
getSourceContext
in SchnittstelleResolvedMember
-
getStart
public int getStart()- Angegeben von:
getStart
in SchnittstelleResolvedMember
-
setPosition
public void setPosition(int sourceStart, int sourceEnd) - Angegeben von:
setPosition
in SchnittstelleResolvedMember
-
setSourceContext
- Angegeben von:
setSourceContext
in SchnittstelleResolvedMember
-
isAbstract
public boolean isAbstract()- Angegeben von:
isAbstract
in SchnittstelleResolvedMember
-
isPublic
public boolean isPublic()- Angegeben von:
isPublic
in SchnittstelleResolvedMember
-
isDefault
public boolean isDefault()- Angegeben von:
isDefault
in SchnittstelleResolvedMember
-
isVisible
- Angegeben von:
isVisible
in SchnittstelleResolvedMember
-
setCheckedExceptions
- Angegeben von:
setCheckedExceptions
in SchnittstelleResolvedMember
-
setAnnotatedElsewhere
public void setAnnotatedElsewhere(boolean b) - Angegeben von:
setAnnotatedElsewhere
in SchnittstelleResolvedMember
-
isAnnotatedElsewhere
public boolean isAnnotatedElsewhere()- Angegeben von:
isAnnotatedElsewhere
in SchnittstelleResolvedMember
-
getGenericReturnType
Beschreibung aus Schnittstelle kopiert:ResolvedMember
Get the UnresolvedType for the return type, taking generic signature into account- Angegeben von:
getGenericReturnType
in SchnittstelleMember
- Angegeben von:
getGenericReturnType
in SchnittstelleResolvedMember
-
getGenericParameterTypes
Beschreibung aus Schnittstelle kopiert:ResolvedMember
Get the TypeXs of the parameter types, taking generic signature into account- Angegeben von:
getGenericParameterTypes
in SchnittstelleMember
- Angegeben von:
getGenericParameterTypes
in SchnittstelleResolvedMember
-
parameterizedWith
public ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized) - Angegeben von:
parameterizedWith
in SchnittstelleResolvedMember
-
parameterizedWith
public ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized, List<String> aliases) - Angegeben von:
parameterizedWith
in SchnittstelleResolvedMember
-
setTypeVariables
- Angegeben von:
setTypeVariables
in SchnittstelleResolvedMember
-
getTypeVariables
- Angegeben von:
getTypeVariables
in SchnittstelleResolvedMember
-
getTypeVariableNamed
- Angegeben von:
getTypeVariableNamed
in SchnittstelleTypeVariableDeclaringElement
-
matches
Beschreibung aus Schnittstelle kopiert:ResolvedMember
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.- Angegeben von:
matches
in SchnittstelleResolvedMember
-
resolve
-
compareTo
- Angegeben von:
compareTo
in SchnittstelleComparable<Member>
- Angegeben von:
compareTo
in SchnittstelleMember
-
getKind
-
getReturnType
- Angegeben von:
getReturnType
in SchnittstelleMember
-
getType
-
getName
-
getParameterTypes
- Angegeben von:
getParameterTypes
in SchnittstelleMember
-
getParameterAnnotations
- Angegeben von:
getParameterAnnotations
in SchnittstelleResolvedMember
-
getParameterAnnotationTypes
- Angegeben von:
getParameterAnnotationTypes
in SchnittstelleResolvedMember
-
getSignature
Beschreibung aus Schnittstelle kopiert:Member
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.- Angegeben von:
getSignature
in SchnittstelleMember
-
getArity
public int getArity() -
getParameterSignature
Beschreibung aus Schnittstelle kopiert:Member
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.- Angegeben von:
getParameterSignature
in SchnittstelleMember
-
isCompatibleWith
- Angegeben von:
isCompatibleWith
in SchnittstelleResolvedMember
-
canBeParameterized
public boolean canBeParameterized()Beschreibung aus Schnittstelle kopiert:Member
Returns true iff the member is generic (NOT parameterized)- Angegeben von:
canBeParameterized
in SchnittstelleMember
-
getAnnotations
- Angegeben von:
getAnnotations
in SchnittstelleMember
- Angegeben von:
getAnnotations
in SchnittstelleResolvedMember
-
getDeclaringTypes
- Angegeben von:
getDeclaringTypes
in SchnittstelleMember
-
getJoinPointSignatures
- Angegeben von:
getJoinPointSignatures
in SchnittstelleMember
-
toString
-
toGenericString
- Angegeben von:
toGenericString
in SchnittstelleResolvedMember
-
toDebugString
- Angegeben von:
toDebugString
in SchnittstelleResolvedMember
-
equals
-
hashCode
public int hashCode() -
hasBackingGenericMember
public boolean hasBackingGenericMember()- Angegeben von:
hasBackingGenericMember
in SchnittstelleResolvedMember
-
getBackingGenericMember
- Angegeben von:
getBackingGenericMember
in SchnittstelleResolvedMember
-
evictWeavingState
public void evictWeavingState()- Angegeben von:
evictWeavingState
in SchnittstelleResolvedMember
-
parameterizedWith
- Angegeben von:
parameterizedWith
in SchnittstelleResolvedMember
-
getAnnotationDefaultValue
- Angegeben von:
getAnnotationDefaultValue
in SchnittstelleResolvedMember
-
getParameterSignatureErased
- Angegeben von:
getParameterSignatureErased
in SchnittstelleResolvedMember
-
getSignatureErased
- Angegeben von:
getSignatureErased
in SchnittstelleResolvedMember
-
isDefaultConstructor
public boolean isDefaultConstructor()- Angegeben von:
isDefaultConstructor
in SchnittstelleResolvedMember
-
equalsApartFromDeclaringType
- Angegeben von:
equalsApartFromDeclaringType
in SchnittstelleResolvedMember
-