public class JoinPointSignature extends java.lang.Object implements ResolvedMember
| Modifier and Type | Field and Description |
|---|---|
static JoinPointSignature[] |
EMPTY_ARRAY |
NONEADVICE, 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 Memberpublic int getModifiers(World world)
getModifiers in interface MembergetModifiers in interface ResolvedMemberpublic int getModifiers()
getModifiers in interface MembergetModifiers in interface ResolvedMemberpublic UnresolvedType[] getExceptions(World world)
getExceptions in interface MembergetExceptions in interface ResolvedMemberpublic UnresolvedType[] getExceptions()
getExceptions in interface ResolvedMemberpublic ShadowMunger getAssociatedShadowMunger()
getAssociatedShadowMunger in interface ResolvedMemberpublic boolean isAjSynthetic()
isAjSynthetic in interface ResolvedMemberpublic boolean hasAnnotation(UnresolvedType ofType)
hasAnnotation in interface AnnotatedElementhasAnnotation in interface ResolvedMemberpublic ResolvedType[] getAnnotationTypes()
getAnnotationTypes in interface AnnotatedElementgetAnnotationTypes in interface ResolvedMemberpublic AnnotationAJ getAnnotationOfType(UnresolvedType ofType)
getAnnotationOfType in interface AnnotatedElementpublic void setAnnotationTypes(ResolvedType[] annotationtypes)
setAnnotationTypes in interface ResolvedMemberpublic void setAnnotations(AnnotationAJ[] annotations)
setAnnotations in interface ResolvedMemberpublic void addAnnotation(AnnotationAJ annotation)
addAnnotation in interface ResolvedMemberpublic boolean isBridgeMethod()
isBridgeMethod in interface ResolvedMemberpublic boolean isVarargsMethod()
isVarargsMethod in interface ResolvedMemberpublic boolean isSynthetic()
isSynthetic in interface ResolvedMemberpublic void write(CompressingDataOutputStream s) throws java.io.IOException
write in interface ResolvedMemberjava.io.IOExceptionpublic ISourceContext getSourceContext(World world)
getSourceContext in interface ResolvedMemberpublic java.lang.String[] getParameterNames()
getParameterNames in interface ResolvedMemberpublic void setParameterNames(java.lang.String[] names)
setParameterNames in interface ResolvedMemberpublic java.lang.String[] getParameterNames(World world)
getParameterNames in interface MembergetParameterNames in interface ResolvedMemberpublic AjAttribute.EffectiveSignatureAttribute getEffectiveSignature()
getEffectiveSignature in interface ResolvedMemberpublic ISourceLocation getSourceLocation()
getSourceLocation in interface ResolvedMemberpublic int getEnd()
getEnd in interface ResolvedMemberpublic ISourceContext getSourceContext()
getSourceContext in interface ResolvedMemberpublic int getStart()
getStart in interface ResolvedMemberpublic void setPosition(int sourceStart,
int sourceEnd)
setPosition in interface ResolvedMemberpublic void setSourceContext(ISourceContext sourceContext)
setSourceContext in interface ResolvedMemberpublic boolean isAbstract()
isAbstract in interface ResolvedMemberpublic boolean isPublic()
isPublic in interface ResolvedMemberpublic boolean isDefault()
isDefault in interface ResolvedMemberpublic boolean isVisible(ResolvedType fromType)
isVisible in interface ResolvedMemberpublic void setCheckedExceptions(UnresolvedType[] checkedExceptions)
setCheckedExceptions in interface ResolvedMemberpublic void setAnnotatedElsewhere(boolean b)
setAnnotatedElsewhere in interface ResolvedMemberpublic boolean isAnnotatedElsewhere()
isAnnotatedElsewhere in interface ResolvedMemberpublic UnresolvedType getGenericReturnType()
ResolvedMembergetGenericReturnType in interface MembergetGenericReturnType in interface ResolvedMemberpublic UnresolvedType[] getGenericParameterTypes()
ResolvedMembergetGenericParameterTypes in interface MembergetGenericParameterTypes in interface ResolvedMemberpublic ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized)
parameterizedWith in interface ResolvedMemberpublic ResolvedMemberImpl parameterizedWith(UnresolvedType[] typeParameters, ResolvedType newDeclaringType, boolean isParameterized, java.util.List<java.lang.String> aliases)
parameterizedWith in interface ResolvedMemberpublic void setTypeVariables(TypeVariable[] types)
setTypeVariables in interface ResolvedMemberpublic TypeVariable[] getTypeVariables()
getTypeVariables in interface ResolvedMemberpublic TypeVariable getTypeVariableNamed(java.lang.String name)
getTypeVariableNamed in interface TypeVariableDeclaringElementpublic boolean matches(ResolvedMember aCandidateMatch, boolean ignoreGenerics)
ResolvedMembermatches in interface ResolvedMemberpublic ResolvedMember resolve(World world)
public int compareTo(Member other)
public MemberKind getKind()
public UnresolvedType getReturnType()
getReturnType in interface Memberpublic UnresolvedType getType()
public UnresolvedType[] getParameterTypes()
getParameterTypes in interface Memberpublic AnnotationAJ[][] getParameterAnnotations()
getParameterAnnotations in interface ResolvedMemberpublic ResolvedType[][] getParameterAnnotationTypes()
getParameterAnnotationTypes in interface ResolvedMemberpublic java.lang.String getSignature()
MembergetSignature in interface Memberpublic java.lang.String getParameterSignature()
MembergetParameterSignature in interface Memberpublic boolean isCompatibleWith(Member am)
isCompatibleWith in interface ResolvedMemberpublic boolean canBeParameterized()
MembercanBeParameterized in interface Memberpublic AnnotationAJ[] getAnnotations()
getAnnotations in interface MembergetAnnotations in interface ResolvedMemberpublic java.util.Collection<ResolvedType> getDeclaringTypes(World world)
getDeclaringTypes in interface Memberpublic JoinPointSignatureIterator getJoinPointSignatures(World world)
getJoinPointSignatures in interface Memberpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toGenericString()
toGenericString in interface ResolvedMemberpublic java.lang.String toDebugString()
toDebugString in interface ResolvedMemberpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean hasBackingGenericMember()
hasBackingGenericMember in interface ResolvedMemberpublic ResolvedMember getBackingGenericMember()
getBackingGenericMember in interface ResolvedMemberpublic void evictWeavingState()
evictWeavingState in interface ResolvedMemberpublic ResolvedMember parameterizedWith(java.util.Map m, World w)
parameterizedWith in interface ResolvedMemberpublic java.lang.String getAnnotationDefaultValue()
getAnnotationDefaultValue in interface ResolvedMemberpublic java.lang.String getParameterSignatureErased()
getParameterSignatureErased in interface ResolvedMemberpublic java.lang.String getSignatureErased()
getSignatureErased in interface ResolvedMemberpublic boolean isDefaultConstructor()
isDefaultConstructor in interface ResolvedMemberpublic boolean equalsApartFromDeclaringType(java.lang.Object other)
equalsApartFromDeclaringType in interface ResolvedMember