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, typeVariablesVon Klasse geerbte Felder org.aspectj.weaver.MemberImpl
declaringType, kind, modifiers, name, parameterTypes, returnTypeVon Schnittstelle geerbte Felder org.aspectj.weaver.Member
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, NONE, POINTCUT, STATIC_INITIALIZATIONVon Schnittstelle geerbte Felder org.aspectj.weaver.ResolvedMember
NONE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungEclipseResolvedMember(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[]booleanhasAnnotation(UnresolvedType ofType) Check if this member has an annotation of the specified type.booleanReturn 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, writeArrayVon 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, wipeJoinpointSignaturesVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.weaver.Member
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getTypeVon 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:ResolvedMemberImplCheck 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:
hasAnnotationin SchnittstelleAnnotatedElement- Angegeben von:
hasAnnotationin SchnittstelleResolvedMember- Setzt außer Kraft:
hasAnnotationin 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:
getAnnotationsin SchnittstelleMember- Angegeben von:
getAnnotationsin SchnittstelleResolvedMember- Setzt außer Kraft:
getAnnotationsin KlasseResolvedMemberImpl
-
getAnnotationOfType
- Angegeben von:
getAnnotationOfTypein SchnittstelleAnnotatedElement- Setzt außer Kraft:
getAnnotationOfTypein KlasseResolvedMemberImpl
-
getAnnotationDefaultValue
- Angegeben von:
getAnnotationDefaultValuein SchnittstelleResolvedMember- Setzt außer Kraft:
getAnnotationDefaultValuein KlasseResolvedMemberImpl
-
getAnnotationTypes
- Angegeben von:
getAnnotationTypesin SchnittstelleAnnotatedElement- Angegeben von:
getAnnotationTypesin SchnittstelleResolvedMember- Setzt außer Kraft:
getAnnotationTypesin KlasseResolvedMemberImpl
-
getParameterAnnotationTypes
- Angegeben von:
getParameterAnnotationTypesin SchnittstelleResolvedMember- Setzt außer Kraft:
getParameterAnnotationTypesin KlasseResolvedMemberImpl
-
getParameterNames
- Angegeben von:
getParameterNamesin SchnittstelleResolvedMember- Setzt außer Kraft:
getParameterNamesin 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:
isDefaultConstructorin SchnittstelleResolvedMember- Setzt außer Kraft:
isDefaultConstructorin KlasseResolvedMemberImpl- Gibt zurück:
- true if this is the default constructor.
-