Package org.aspectj.weaver.patterns
Klasse ExactTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.ExactTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
- Bekannte direkte Unterklassen:
BindingTypePattern
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungbooleanbooleanprotected ResolvedTypeprotected UnresolvedTypeVon 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
KonstruktorenKonstruktorBeschreibungExactTypePattern(UnresolvedType type, boolean includeSubtypes, boolean isVarArgs) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept(PatternNodeVisitor visitor, Object data) protected booleanbooleangetResolvedExactType(World world) getType()inthashCode()booleanisArray()booleanisVoid()for quickly recognizing the pattern 'void'protected booleanmatchesExactly(ResolvedType matchType) protected booleanmatchesExactly(ResolvedType matchType, ResolvedType annotatedType) matchesInstanceof(ResolvedType matchType) protected booleanmatchesSubtypes(ResolvedType type) 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) static TypePatternreadTypePattern150(VersionedDataInputStream s, ISourceContext context) static TypePatternreadTypePatternOldStyle(DataInputStream 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.toString()voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isBangVoid, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, matches, matchesStatically, matchesSubtypes, notExactType, postRead, remapAdviceFormals, resolve, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParametersVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Felddetails
-
type
-
resolvedType
-
checked
public boolean checked -
isVoid
public boolean isVoid -
primitiveTypesMap
-
boxedPrimitivesMap
-
-
Konstruktordetails
-
ExactTypePattern
-
-
Methodendetails
-
matchesSubtypes
- Setzt außer Kraft:
matchesSubtypesin KlasseTypePattern
-
isArray
public boolean isArray()- Setzt außer Kraft:
isArrayin KlasseTypePattern
-
couldEverMatchSameTypesAs
- Setzt außer Kraft:
couldEverMatchSameTypesAsin KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
getType
-
getResolvedExactType
-
isVoid
public boolean isVoid()Beschreibung aus Klasse kopiert:TypePatternfor quickly recognizing the pattern 'void'- Setzt außer Kraft:
isVoidin KlasseTypePattern
-
matchesInstanceof
- Angegeben von:
matchesInstanceofin KlasseTypePattern
-
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
-
readTypePattern150
public static TypePattern readTypePattern150(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
readTypePatternOldStyle
public static TypePattern readTypePatternOldStyle(DataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
toString
-
resolveBindings
public TypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) Beschreibung aus Klasse kopiert:TypePatternThis can modify in place, or return a new TypePattern if the type changes.- Setzt außer Kraft:
resolveBindingsin KlasseTypePattern
-
parameterizeWith
return a version of this type pattern with all type variables references replaced by the corresponding entry in the map.- Angegeben von:
parameterizeWithin KlasseTypePattern
-
accept
- Angegeben von:
acceptin KlassePatternNode
-