Package org.aspectj.weaver.patterns
Klasse TypeCategoryTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.TypeCategoryTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
A TypeCategoryTypePattern matches on the category of a type, one of class/interface/aspect/inner/anonymous/enum/annotation, and
these are specified in the pointcut via isClass() isInterface() isAspect() isInner() isAnonymous() isEnum() isAnnotation().
- Seit:
- 1.6.9
- Autor:
- Andy Clement
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intVon 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
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept(PatternNodeVisitor visitor, Object data) booleanintinthashCode()protected booleanmatchesExactly(ResolvedType type) protected booleanmatchesExactly(ResolvedType type, ResolvedType annotatedType) parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) return a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.static TypePatternread(VersionedDataInputStream s, ISourceContext context) voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
couldEverMatchSameTypesAs, getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isArray, isBangVoid, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, isVoid, matches, matchesStatically, matchesSubtypes, matchesSubtypes, notExactType, postRead, remapAdviceFormals, resolve, resolveBindings, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParametersVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Felddetails
-
CLASS
public static final int CLASS- Siehe auch:
-
INTERFACE
public static final int INTERFACE- Siehe auch:
-
ASPECT
public static final int ASPECT- Siehe auch:
-
INNER
public static final int INNER- Siehe auch:
-
ANONYMOUS
public static final int ANONYMOUS- Siehe auch:
-
ENUM
public static final int ENUM- Siehe auch:
-
ANNOTATION
public static final int ANNOTATION- Siehe auch:
-
FINAL
public static final int FINAL- Siehe auch:
-
ABSTRACT
public static final int ABSTRACT- Siehe auch:
-
-
Konstruktordetails
-
TypeCategoryTypePattern
public TypeCategoryTypePattern(int category)
-
-
Methodendetails
-
getTypeCategory
public int getTypeCategory() -
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
matchesInstanceof
- Angegeben von:
matchesInstanceofin KlasseTypePattern
-
parameterizeWith
Beschreibung aus Klasse kopiert:TypePatternreturn a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.- Angegeben von:
parameterizeWithin KlasseTypePattern
-
accept
- Angegeben von:
acceptin KlassePatternNode
-
equals
-
hashCode
public int hashCode() -
write
- Angegeben von:
writein KlassePatternNode- Löst aus:
IOException
-
read
public static TypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-