public class EclipseResolvedMember extends ResolvedMemberImpl
annotations, annotationTypes, backingGenericMember, checkedExceptions, end, parameterAnnotations, parameterAnnotationTypes, showParameterNames, sourceContext, start, typeVariables
declaringType, kind, modifiers, name, parameterTypes, returnType
NONE
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, POINTCUT, STATIC_INITIALIZATION
Constructor and Description |
---|
EclipseResolvedMember(FieldBinding binding,
MemberKind field,
ResolvedType realDeclaringType,
int modifiers,
ResolvedType type,
java.lang.String string,
UnresolvedType[] none) |
EclipseResolvedMember(MethodBinding binding,
MemberKind memberKind,
ResolvedType realDeclaringType,
int modifiers,
UnresolvedType rettype,
java.lang.String name,
UnresolvedType[] paramtypes,
UnresolvedType[] extypes,
EclipseFactory eclipseFactory) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotationDefaultValue() |
AnnotationAJ |
getAnnotationOfType(UnresolvedType ofType) |
AnnotationAJ[] |
getAnnotations() |
ResolvedType[] |
getAnnotationTypes() |
ResolvedType[][] |
getParameterAnnotationTypes() |
java.lang.String[] |
getParameterNames() |
boolean |
hasAnnotation(UnresolvedType ofType)
Check if this member has an annotation of the specified type.
|
boolean |
isDefaultConstructor()
Return true if this is the default constructor.
|
addAnnotation, appendSigWithTypeVarBoundsRemoved, evictWeavingState, getAssociatedShadowMunger, getBackingGenericMember, getEffectiveSignature, getEnd, getExceptions, getExceptions, getGenericParameterTypes, getGenericReturnType, getGenericSignature, getJoinPointSignatures, getModifiers, getModifiers, getParameterAnnotations, getParameterNames, getParameterSignatureErased, getSignatureErased, getSignatureForAttribute, getSourceContext, getSourceContext, getSourceLocation, getStart, getTypeVariableNamed, getTypeVariables, hasAnnotations, hasBackingGenericMember, isAbstract, isAjSynthetic, isAnnotatedElsewhere, isBridgeMethod, isCompatibleWith, isDefault, isEquivalentTo, isPublic, isSynthetic, isVarargsMethod, isVisible, matches, parameterize, parameterizedWith, parameterizedWith, parameterizedWith, readResolvedMember, readResolvedMemberArray, resetKind, resetModifiers, resetName, resetReturnTypeToObjectArray, resolve, setAjSynthetic, setAnnotatedElsewhere, setAnnotations, setAnnotationTypes, setCheckedExceptions, setDeclaringType, setParameterNames, setPosition, setSourceContext, setTypeVariables, setVarargsMethod, toDebugString, toGenericString, write, writeArray
canBeParameterized, compareTo, equals, equalsApartFromDeclaringType, field, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType, hashCode, isInterface, isPrivate, isStatic, makeExceptionHandlerSignature, method, method, monitorEnter, monitorExit, pointcut, toString, typesToSignature, typesToSignature, wipeJoinpointSignatures
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equalsApartFromDeclaringType
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType
public EclipseResolvedMember(MethodBinding binding, MemberKind memberKind, ResolvedType realDeclaringType, int modifiers, UnresolvedType rettype, java.lang.String name, UnresolvedType[] paramtypes, UnresolvedType[] extypes, EclipseFactory eclipseFactory)
public EclipseResolvedMember(FieldBinding binding, MemberKind field, ResolvedType realDeclaringType, int modifiers, ResolvedType type, java.lang.String string, UnresolvedType[] none)
public boolean hasAnnotation(UnresolvedType ofType)
ResolvedMemberImpl
hasAnnotation
in interface AnnotatedElement
hasAnnotation
in interface ResolvedMember
hasAnnotation
in class ResolvedMemberImpl
ofType
- the type of the annotation being searched forpublic AnnotationAJ[] getAnnotations()
getAnnotations
in interface Member
getAnnotations
in interface ResolvedMember
getAnnotations
in class ResolvedMemberImpl
public AnnotationAJ getAnnotationOfType(UnresolvedType ofType)
getAnnotationOfType
in interface AnnotatedElement
getAnnotationOfType
in class ResolvedMemberImpl
public java.lang.String getAnnotationDefaultValue()
getAnnotationDefaultValue
in interface ResolvedMember
getAnnotationDefaultValue
in class ResolvedMemberImpl
public ResolvedType[] getAnnotationTypes()
getAnnotationTypes
in interface AnnotatedElement
getAnnotationTypes
in interface ResolvedMember
getAnnotationTypes
in class ResolvedMemberImpl
public ResolvedType[][] getParameterAnnotationTypes()
getParameterAnnotationTypes
in interface ResolvedMember
getParameterAnnotationTypes
in class ResolvedMemberImpl
public java.lang.String[] getParameterNames()
getParameterNames
in interface ResolvedMember
getParameterNames
in class ResolvedMemberImpl
public boolean isDefaultConstructor()
isDefaultConstructor
in interface ResolvedMember
isDefaultConstructor
in class ResolvedMemberImpl