Package org.aspectj.weaver.patterns
Klasse TypePatternList
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePatternList
- Alle implementierten Schnittstellen:
IHasPosition
,IHasSourceLocation
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept
(PatternNodeVisitor visitor, Object data) boolean
boolean
canMatchSignatureWithNParameters
(int numParams) boolean
get
(int index) int
getEnd()
The ending index of this location in the character stream This points to the last character in this token.int
getStart()
The starting index of this location in the character stream.int
hashCode()
matches
(ResolvableTypeList types, TypePattern.MatchKind kind, ResolvedType[][] parameterAnnotations) matches
(ResolvedType[] types, TypePattern.MatchKind kind) matches
(ResolvedType[] types, TypePattern.MatchKind kind, ResolvedType[][] parameterAnnotations) When called with TypePattern.STATIC this will always return either FuzzyBoolean.YES or FuzzyBoolean.NO.String[]
parameterizeWith
(Map<String, UnresolvedType> typeVariableMap, World w) Return a version of this type pattern list in which all type variable references are replaced by their corresponding entry in the mapvoid
postRead
(ResolvedType enclosingType) static TypePatternList
read
(VersionedDataInputStream s, ISourceContext context) resolveBindings
(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) resolveReferences
(IntMap bindings) int
size()
toString()
traverse
(PatternNodeVisitor visitor, Object data) void
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getFileName, readLocation, setLocation, writeLocation
-
Felddetails
-
EMPTY
-
ANY
-
-
Konstruktordetails
-
TypePatternList
public TypePatternList() -
TypePatternList
-
TypePatternList
-
-
Methodendetails
-
size
public int size() -
get
-
toString
-
canMatchSignatureWithNParameters
public boolean canMatchSignatureWithNParameters(int numParams) -
matches
-
matches
public FuzzyBoolean matches(ResolvedType[] types, TypePattern.MatchKind kind, ResolvedType[][] parameterAnnotations) When called with TypePattern.STATIC this will always return either FuzzyBoolean.YES or FuzzyBoolean.NO. When called with TypePattern.DYNAMIC this could return MAYBE if at runtime it would be possible for arguments of the given static types to dynamically match this, but it is not known for certain. This method will never return FuzzyBoolean.NEVER -
matches
public FuzzyBoolean matches(ResolvableTypeList types, TypePattern.MatchKind kind, ResolvedType[][] parameterAnnotations) -
parameterizeWith
Return a version of this type pattern list in which all type variable references are replaced by their corresponding entry in the map- Parameter:
typeVariableMap
-- Gibt zurück:
-
resolveBindings
public TypePatternList resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) -
resolveReferences
-
postRead
-
equals
-
hashCode
public int hashCode() -
read
public static TypePatternList read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
getEnd
public int getEnd()Beschreibung aus Schnittstelle kopiert:IHasPosition
The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this.- Angegeben von:
getEnd
in SchnittstelleIHasPosition
- Setzt außer Kraft:
getEnd
in KlassePatternNode
-
getSourceContext
- Angegeben von:
getSourceContext
in SchnittstelleIHasSourceLocation
- Setzt außer Kraft:
getSourceContext
in KlassePatternNode
-
getSourceLocation
- Angegeben von:
getSourceLocation
in SchnittstelleIHasSourceLocation
- Setzt außer Kraft:
getSourceLocation
in KlassePatternNode
-
getStart
public int getStart()Beschreibung aus Schnittstelle kopiert:IHasPosition
The starting index of this location in the character stream.- Angegeben von:
getStart
in SchnittstelleIHasPosition
- Setzt außer Kraft:
getStart
in KlassePatternNode
-
write
- Angegeben von:
write
in KlassePatternNode
- Löst aus:
IOException
-
getTypePatterns
-
getExactTypes
-
accept
- Angegeben von:
accept
in KlassePatternNode
-
traverse
- Setzt außer Kraft:
traverse
in KlassePatternNode
-
areAllExactWithNoSubtypesAllowed
public boolean areAllExactWithNoSubtypesAllowed() -
maybeGetCleanNames
-