Package org.aspectj.weaver.patterns
Klasse NotTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.NotTypePattern
- Alle implementierten Schnittstellen:
IHasPosition
,IHasSourceLocation
!TypePattern
any binding to formals is explicitly forbidden for any composite, ! is just the most obviously wrong case.
- Autor:
- Erik Hilsdale, Jim Hugunin
-
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.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) protected boolean
boolean
int
hashCode()
boolean
For quickly recognizing the pattern '!protected boolean
matchesArray
(UnresolvedType type) protected boolean
matchesExactly
(ResolvedType type) protected boolean
matchesExactly
(ResolvedType type, ResolvedType annotatedType) boolean
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) resolveBindings
(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) This can modify in place, or return a new TypePattern if the type changes.void
void
setIsVarArgs
(boolean isVarArgs) toString()
traverse
(PatternNodeVisitor visitor, Object data) void
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getDimensions, getExactType, getTypeParameters, hasFailedResolution, isArray, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, isVoid, matches, matchesSubtypes, matchesSubtypes, notExactType, postRead, remapAdviceFormals, resolve, resolveExactType, setTypeParameters
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
-
Konstruktordetails
-
NotTypePattern
-
-
Methodendetails
-
getNegatedPattern
-
couldEverMatchSameTypesAs
- Setzt außer Kraft:
couldEverMatchSameTypesAs
in KlasseTypePattern
-
matchesInstanceof
- Angegeben von:
matchesInstanceof
in KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactly
in KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactly
in KlasseTypePattern
-
matchesArray
- Angegeben von:
matchesArray
in KlasseTypePattern
-
matchesStatically
- Setzt außer Kraft:
matchesStatically
in KlasseTypePattern
-
setAnnotationTypePattern
- Setzt außer Kraft:
setAnnotationTypePattern
in KlasseTypePattern
-
setIsVarArgs
public void setIsVarArgs(boolean isVarArgs) - Setzt außer Kraft:
setIsVarArgs
in KlasseTypePattern
-
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
-
resolveBindings
public TypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) Beschreibung aus Klasse kopiert:TypePattern
This can modify in place, or return a new TypePattern if the type changes.- Setzt außer Kraft:
resolveBindings
in KlasseTypePattern
-
isBangVoid
public boolean isBangVoid()Beschreibung aus Klasse kopiert:TypePattern
For quickly recognizing the pattern '!void'- Setzt außer Kraft:
isBangVoid
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
-
toString
-
equals
-
hashCode
public int hashCode() -
accept
- Angegeben von:
accept
in KlassePatternNode
-
traverse
- Setzt außer Kraft:
traverse
in KlassePatternNode
-