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
Modifizierer und TypFeldBeschreibungstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Von 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, WILD
Von Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept
(PatternNodeVisitor visitor, Object data) boolean
int
int
hashCode()
protected boolean
matchesArray
(UnresolvedType type) protected boolean
matchesExactly
(ResolvedType type) protected boolean
matchesExactly
(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 TypePattern
read
(VersionedDataInputStream s, ISourceContext context) void
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
couldEverMatchSameTypesAs, getAnnotationPattern, getDimensions, getExactType, getTypeParameters, hasFailedResolution, isArray, isBangVoid, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, isVoid, matches, matchesStatically, matchesSubtypes, matchesSubtypes, notExactType, postRead, remapAdviceFormals, resolve, resolveBindings, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParameters
Von 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:
matchesExactly
in KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactly
in KlasseTypePattern
-
matchesArray
- Angegeben von:
matchesArray
in KlasseTypePattern
-
matchesInstanceof
- Angegeben von:
matchesInstanceof
in KlasseTypePattern
-
parameterizeWith
Beschreibung aus Klasse kopiert:TypePattern
return a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.- Angegeben von:
parameterizeWith
in KlasseTypePattern
-
accept
- Angegeben von:
accept
in KlassePatternNode
-
equals
-
hashCode
public int hashCode() -
write
- Angegeben von:
write
in KlassePatternNode
- Löst aus:
IOException
-
read
public static TypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-