Klasse EclipseResolvedMember
java.lang.Object
org.aspectj.weaver.MemberImpl
org.aspectj.weaver.ResolvedMemberImpl
org.aspectj.ajdt.internal.compiler.lookup.EclipseResolvedMember
- Alle implementierten Schnittstellen:
Comparable<Member>
,AnnotatedElement
,IHasPosition
,Member
,ResolvedMember
,TypeVariableDeclaringElement
In the pipeline world, we can be weaving before all types have come through from compilation. In some cases this means the weaver
will want to ask questions of eclipse types and this subtype of ResolvedMemberImpl is here to answer some of those questions - it
is backed by the real eclipse MethodBinding object and can translate from Eclipse → Weaver information.
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.ResolvedMemberImpl
annotations, annotationTypes, backingGenericMember, checkedExceptions, end, parameterAnnotations, parameterAnnotationTypes, showParameterNames, sourceContext, start, typeVariables
Von Klasse geerbte Felder org.aspectj.weaver.MemberImpl
declaringType, kind, modifiers, name, parameterTypes, returnType
Von Schnittstelle geerbte Felder org.aspectj.weaver.Member
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, NONE, POINTCUT, STATIC_INITIALIZATION
Von Schnittstelle geerbte Felder org.aspectj.weaver.ResolvedMember
NONE
-
Konstruktorübersicht
KonstruktorBeschreibungEclipseResolvedMember
(FieldBinding binding, MemberKind field, ResolvedType realDeclaringType, int modifiers, ResolvedType type, String string, UnresolvedType[] none) EclipseResolvedMember
(MethodBinding binding, MemberKind memberKind, ResolvedType realDeclaringType, int modifiers, UnresolvedType rettype, String name, UnresolvedType[] paramtypes, UnresolvedType[] extypes, EclipseFactory eclipseFactory) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetAnnotationOfType
(UnresolvedType ofType) ResolvedType[][]
String[]
boolean
hasAnnotation
(UnresolvedType ofType) Check if this member has an annotation of the specified type.boolean
Return true if this is the default constructor.Von Klasse geerbte Methoden org.aspectj.weaver.ResolvedMemberImpl
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
Von Klasse geerbte Methoden org.aspectj.weaver.MemberImpl
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
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.weaver.Member
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType
Von Schnittstelle geerbte Methoden org.aspectj.weaver.ResolvedMember
equalsApartFromDeclaringType
-
Konstruktordetails
-
EclipseResolvedMember
public EclipseResolvedMember(MethodBinding binding, MemberKind memberKind, ResolvedType realDeclaringType, int modifiers, UnresolvedType rettype, String name, UnresolvedType[] paramtypes, UnresolvedType[] extypes, EclipseFactory eclipseFactory) -
EclipseResolvedMember
public EclipseResolvedMember(FieldBinding binding, MemberKind field, ResolvedType realDeclaringType, int modifiers, ResolvedType type, String string, UnresolvedType[] none)
-
-
Methodendetails
-
hasAnnotation
Beschreibung aus Klasse kopiert:ResolvedMemberImpl
Check if this member has an annotation of the specified type. If the member has a backing generic member then this member represents a parameterization of a member in a generic type and the annotations available on the backing generic member should be used.- Angegeben von:
hasAnnotation
in SchnittstelleAnnotatedElement
- Angegeben von:
hasAnnotation
in SchnittstelleResolvedMember
- Setzt außer Kraft:
hasAnnotation
in KlasseResolvedMemberImpl
- Parameter:
ofType
- the type of the annotation being searched for- Gibt zurück:
- true if the annotation is found on this member or its backing generic member
-
getAnnotations
- Angegeben von:
getAnnotations
in SchnittstelleMember
- Angegeben von:
getAnnotations
in SchnittstelleResolvedMember
- Setzt außer Kraft:
getAnnotations
in KlasseResolvedMemberImpl
-
getAnnotationOfType
- Angegeben von:
getAnnotationOfType
in SchnittstelleAnnotatedElement
- Setzt außer Kraft:
getAnnotationOfType
in KlasseResolvedMemberImpl
-
getAnnotationDefaultValue
- Angegeben von:
getAnnotationDefaultValue
in SchnittstelleResolvedMember
- Setzt außer Kraft:
getAnnotationDefaultValue
in KlasseResolvedMemberImpl
-
getAnnotationTypes
- Angegeben von:
getAnnotationTypes
in SchnittstelleAnnotatedElement
- Angegeben von:
getAnnotationTypes
in SchnittstelleResolvedMember
- Setzt außer Kraft:
getAnnotationTypes
in KlasseResolvedMemberImpl
-
getParameterAnnotationTypes
- Angegeben von:
getParameterAnnotationTypes
in SchnittstelleResolvedMember
- Setzt außer Kraft:
getParameterAnnotationTypes
in KlasseResolvedMemberImpl
-
getParameterNames
- Angegeben von:
getParameterNames
in SchnittstelleResolvedMember
- Setzt außer Kraft:
getParameterNames
in KlasseResolvedMemberImpl
-
isDefaultConstructor
public boolean isDefaultConstructor()Return true if this is the default constructor. The default constructor is the one generated if there isn't one in the source. Eclipse helpfully uses a bit to indicate the default constructor.- Angegeben von:
isDefaultConstructor
in SchnittstelleResolvedMember
- Setzt außer Kraft:
isDefaultConstructor
in KlasseResolvedMemberImpl
- Gibt zurück:
- true if this is the default constructor.
-