public class JoinPointSignature extends java.lang.Object implements ResolvedMember
Modifier and Type | Field and Description |
---|---|
static JoinPointSignature[] |
EMPTY_ARRAY |
NONE
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, POINTCUT, STATIC_INITIALIZATION
Constructor and Description |
---|
JoinPointSignature(ResolvedMember backing,
ResolvedType aType) |
public static final JoinPointSignature[] EMPTY_ARRAY
public JoinPointSignature(ResolvedMember backing, ResolvedType aType)
public UnresolvedType getDeclaringType()
getDeclaringType
in interface Member
public int getModifiers(World world)
getModifiers
in interface Member
getModifiers
in interface ResolvedMember
public int getModifiers()
getModifiers
in interface Member
getModifiers
in interface ResolvedMember
public UnresolvedType[] getExceptions(World world)
getExceptions
in interface Member
getExceptions
in interface ResolvedMember
public UnresolvedType[] getExceptions()
getExceptions
in interface ResolvedMember
public ShadowMunger getAssociatedShadowMunger()
getAssociatedShadowMunger
in interface ResolvedMember
public boolean isAjSynthetic()
isAjSynthetic
in interface ResolvedMember
public boolean hasAnnotation(UnresolvedType ofType)
hasAnnotation
in interface AnnotatedElement
hasAnnotation
in interface ResolvedMember
public ResolvedType[] getAnnotationTypes()
getAnnotationTypes
in interface AnnotatedElement
getAnnotationTypes
in interface ResolvedMember
public AnnotationAJ getAnnotationOfType(UnresolvedType ofType)
getAnnotationOfType
in interface AnnotatedElement
public void setAnnotationTypes(ResolvedType[] annotationtypes)
setAnnotationTypes
in interface ResolvedMember
public void setAnnotations(AnnotationAJ[] annotations)
setAnnotations
in interface ResolvedMember
public void addAnnotation(AnnotationAJ annotation)
addAnnotation
in interface ResolvedMember
public boolean isBridgeMethod()
isBridgeMethod
in interface ResolvedMember
public boolean isVarargsMethod()
isVarargsMethod
in interface ResolvedMember
public boolean isSynthetic()
isSynthetic
in interface ResolvedMember
public void write(CompressingDataOutputStream s) throws java.io.IOException
write
in interface ResolvedMember
java.io.IOException
public ISourceContext getSourceContext(World world)
getSourceContext
in interface ResolvedMember
public java.lang.String[] getParameterNames()
getParameterNames
in interface ResolvedMember
public void setParameterNames(java.lang.String[] names)
setParameterNames
in interface ResolvedMember
public java.lang.String[] getParameterNames(World world)
getParameterNames
in interface Member
getParameterNames
in interface ResolvedMember
public AjAttribute.EffectiveSignatureAttribute getEffectiveSignature()
getEffectiveSignature
in interface ResolvedMember
public ISourceLocation getSourceLocation()
getSourceLocation
in interface ResolvedMember
public int getEnd()
getEnd
in interface ResolvedMember
public ISourceContext getSourceContext()
getSourceContext
in interface ResolvedMember
public int getStart()
getStart
in interface ResolvedMember
public void setPosition(int sourceStart, int sourceEnd)
setPosition
in interface ResolvedMember
public void setSourceContext(ISourceContext sourceContext)
setSourceContext
in interface ResolvedMember
public boolean isAbstract()
isAbstract
in interface ResolvedMember
public boolean isPublic()
isPublic
in interface ResolvedMember
public boolean isDefault()
isDefault
in interface ResolvedMember
public boolean isVisible(ResolvedType fromType)
isVisible
in interface ResolvedMember
public void setCheckedExceptions(UnresolvedType[] checkedExceptions)
setCheckedExceptions
in interface ResolvedMember
public void setAnnotatedElsewhere(boolean b)
setAnnotatedElsewhere
in interface ResolvedMember
public boolean isAnnotatedElsewhere()
isAnnotatedElsewhere
in interface ResolvedMember
public UnresolvedType getGenericReturnType()
ResolvedMember
getGenericReturnType
in interface Member
getGenericReturnType
in interface ResolvedMember
public UnresolvedType[] getGenericParameterTypes()
ResolvedMember
getGenericParameterTypes
in interface Member
getGenericParameterTypes
in interface ResolvedMember
public ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized)
parameterizedWith
in interface ResolvedMember
public ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized, java.util.List<java.lang.String> aliases)
parameterizedWith
in interface ResolvedMember
public void setTypeVariables(TypeVariable[] types)
setTypeVariables
in interface ResolvedMember
public TypeVariable[] getTypeVariables()
getTypeVariables
in interface ResolvedMember
public TypeVariable getTypeVariableNamed(java.lang.String name)
getTypeVariableNamed
in interface TypeVariableDeclaringElement
public boolean matches(ResolvedMember aCandidateMatch, boolean ignoreGenerics)
ResolvedMember
matches
in interface ResolvedMember
public ResolvedMember resolve(World world)
public int compareTo(Member other)
public MemberKind getKind()
public UnresolvedType getReturnType()
getReturnType
in interface Member
public UnresolvedType getType()
public UnresolvedType[] getParameterTypes()
getParameterTypes
in interface Member
public AnnotationAJ[][] getParameterAnnotations()
getParameterAnnotations
in interface ResolvedMember
public ResolvedType[][] getParameterAnnotationTypes()
getParameterAnnotationTypes
in interface ResolvedMember
public java.lang.String getSignature()
Member
getSignature
in interface Member
public java.lang.String getParameterSignature()
Member
getParameterSignature
in interface Member
public boolean isCompatibleWith(Member am)
isCompatibleWith
in interface ResolvedMember
public boolean canBeParameterized()
Member
canBeParameterized
in interface Member
public AnnotationAJ[] getAnnotations()
getAnnotations
in interface Member
getAnnotations
in interface ResolvedMember
public java.util.Collection<ResolvedType> getDeclaringTypes(World world)
getDeclaringTypes
in interface Member
public JoinPointSignatureIterator getJoinPointSignatures(World world)
getJoinPointSignatures
in interface Member
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toGenericString()
toGenericString
in interface ResolvedMember
public java.lang.String toDebugString()
toDebugString
in interface ResolvedMember
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean hasBackingGenericMember()
hasBackingGenericMember
in interface ResolvedMember
public ResolvedMember getBackingGenericMember()
getBackingGenericMember
in interface ResolvedMember
public void evictWeavingState()
evictWeavingState
in interface ResolvedMember
public ResolvedMember parameterizedWith(java.util.Map m, World w)
parameterizedWith
in interface ResolvedMember
public java.lang.String getAnnotationDefaultValue()
getAnnotationDefaultValue
in interface ResolvedMember
public java.lang.String getParameterSignatureErased()
getParameterSignatureErased
in interface ResolvedMember
public java.lang.String getSignatureErased()
getSignatureErased
in interface ResolvedMember
public boolean isDefaultConstructor()
isDefaultConstructor
in interface ResolvedMember
public boolean equalsApartFromDeclaringType(java.lang.Object other)
equalsApartFromDeclaringType
in interface ResolvedMember