Package org.aspectj.weaver.patterns
Class BindingTypePattern
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.TypePattern
-
- org.aspectj.weaver.patterns.ExactTypePattern
-
- org.aspectj.weaver.patterns.BindingTypePattern
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation,BindingPattern
public class BindingTypePattern extends ExactTypePattern implements BindingPattern
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.patterns.ExactTypePattern
boxedPrimitivesMap, checked, isVoid, primitiveTypesMap, resolvedType, type
-
Fields inherited from class 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
-
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
-
Constructor Summary
Constructors Constructor Description BindingTypePattern(FormalBinding binding, boolean isVarArgs)BindingTypePattern(UnresolvedType type, int index, boolean isVarArgs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetBindingName()intgetFormalIndex()inthashCode()TypePatternparameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)static TypePatternread(VersionedDataInputStream s, ISourceContext context)TypePatternremapAdviceFormals(IntMap bindings)StringtoString()voidwrite(CompressingDataOutputStream out)-
Methods inherited from class org.aspectj.weaver.patterns.ExactTypePattern
accept, couldEverMatchSameTypesAs, getResolvedExactType, getType, isArray, isVoid, matchesExactly, matchesExactly, matchesInstanceof, matchesSubtypes, readTypePattern150, readTypePatternOldStyle, resolveBindings
-
Methods inherited from class org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isBangVoid, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, matches, matchesStatically, matchesSubtypes, notExactType, postRead, resolve, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParameters
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.aspectj.weaver.IHasPosition
getEnd, getStart
-
-
-
-
Constructor Detail
-
BindingTypePattern
public BindingTypePattern(UnresolvedType type, int index, boolean isVarArgs)
-
BindingTypePattern
public BindingTypePattern(FormalBinding binding, boolean isVarArgs)
-
-
Method Detail
-
getFormalIndex
public int getFormalIndex()
- Specified by:
getFormalIndexin interfaceBindingPattern
-
getBindingName
public String getBindingName()
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classExactTypePattern
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExactTypePattern
-
write
public void write(CompressingDataOutputStream out) throws IOException
- Overrides:
writein classExactTypePattern- Throws:
IOException
-
read
public static TypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
remapAdviceFormals
public TypePattern remapAdviceFormals(IntMap bindings)
- Overrides:
remapAdviceFormalsin classTypePattern
-
parameterizeWith
public TypePattern parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)
- Overrides:
parameterizeWithin classExactTypePattern
-
toString
public String toString()
- Overrides:
toStringin classExactTypePattern
-
-