Package org.aspectj.weaver.patterns
Klasse BindingTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.ExactTypePattern
org.aspectj.weaver.patterns.BindingTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation,BindingPattern
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.patterns.ExactTypePattern
boxedPrimitivesMap, checked, isVoid, primitiveTypesMap, resolvedType, typeVon Klasse geerbte Felder org.aspectj.weaver.patterns.TypePattern
AND, annotationPattern, ANY, ANY_KEY, ANY_WITH_ANNO, BINDING, DYNAMIC, ELLIPSIS, ELLIPSIS_KEY, EXACT, HAS_MEMBER, includeSubtypes, isVarArgs, NO, NO_KEY, NOT, OR, STATIC, TYPE_CATEGORY, typeParameters, WILDVon Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungBindingTypePattern(FormalBinding binding, boolean isVarArgs) BindingTypePattern(UnresolvedType type, int index, boolean isVarArgs) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanintinthashCode()parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) return a version of this type pattern with all type variables references replaced by the corresponding entry in the map.static TypePatternread(VersionedDataInputStream s, ISourceContext context) remapAdviceFormals(IntMap bindings) This is called during concretization of pointcuts, it is used by BindingTypePattern to return a new BindingTypePattern with a formal index appropriate for the advice, rather than for the lexical declaration, i.e. this handles transformations through named pointcuts.toString()voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.ExactTypePattern
accept, couldEverMatchSameTypesAs, getDimensions, getResolvedExactType, getType, isArray, isVoid, matchesArray, matchesExactly, matchesExactly, matchesInstanceof, matchesSubtypes, readTypePattern150, readTypePatternOldStyle, resolveBindingsVon Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isBangVoid, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, matches, matchesStatically, matchesSubtypes, notExactType, postRead, resolve, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParametersVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocationVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.weaver.IHasPosition
getEnd, getStart
-
Konstruktordetails
-
BindingTypePattern
-
BindingTypePattern
-
-
Methodendetails
-
getFormalIndex
public int getFormalIndex()- Angegeben von:
getFormalIndexin SchnittstelleBindingPattern
-
getBindingName
-
equals
- Setzt außer Kraft:
equalsin KlasseExactTypePattern
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseExactTypePattern
-
write
- Setzt außer Kraft:
writein KlasseExactTypePattern- Löst aus:
IOException
-
read
public static TypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
remapAdviceFormals
Beschreibung aus Klasse kopiert:TypePatternThis is called during concretization of pointcuts, it is used by BindingTypePattern to return a new BindingTypePattern with a formal index appropriate for the advice, rather than for the lexical declaration, i.e. this handles transformations through named pointcuts.pointcut foo(String name): args(name); --> This makes a BindingTypePattern(0) pointing to the 0th formal before(Foo f, String n): this(f) && foo(n) { ... } --> when resolveReferences is called on the args from the above, it will return a BindingTypePattern(1) before(Foo f): this(f) && foo(*) { ... } --> when resolveReferences is called on the args from the above, it will return an ExactTypePattern(String)- Setzt außer Kraft:
remapAdviceFormalsin KlasseTypePattern
-
parameterizeWith
Beschreibung aus Klasse kopiert:ExactTypePatternreturn a version of this type pattern with all type variables references replaced by the corresponding entry in the map.- Setzt außer Kraft:
parameterizeWithin KlasseExactTypePattern
-
toString
- Setzt außer Kraft:
toStringin KlasseExactTypePattern
-