| Modifier and Type | Field and Description |
|---|---|
| public static final Map | |
| private static final Map | |
| public boolean | |
| private static final byte | |
| public boolean | |
| public static final Map | |
| protected transient ResolvedType | |
| protected UnresolvedType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | accept(PatternNodeVisitor visitor, Object data)
Implements abstract org. |
| protected boolean | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public int | |
| public ResolvedType | |
| public UnresolvedType | |
| public int | |
| public boolean | |
| public boolean | isVoid()
for quickly recognizing the pattern 'void'
|
| protected boolean | matchesArray(UnresolvedType type)
Implements abstract org. |
| protected boolean | matchesExactly(ResolvedType matchType)
Implements abstract org. |
| protected boolean | matchesExactly(ResolvedType matchType, ResolvedType annotatedType)
Implements abstract org. |
| public FuzzyBoolean | matchesInstanceof(ResolvedType matchType)
Implements abstract org. |
| protected boolean | |
| private boolean | |
| public TypePattern | parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w)
Implements abstract org. |
| public static TypePattern | |
| public static TypePattern | |
| public static TypePattern | |
| public TypePattern | resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)
Overrides org. |
| public String | |
| public void | write(CompressingDataOutputStream out)
Implements abstract org. |
| boxedPrimitivesMap | back to summary |
|---|---|
| public static final Map<String, Class<?>> boxedPrimitivesMap | |
| boxedTypesMap | back to summary |
|---|---|
| private static final Map<String, Class<?>> boxedTypesMap | |
| checked | back to summary |
|---|---|
| public boolean checked | |
| EXACT_VERSION | back to summary |
|---|---|
| private static final byte EXACT_VERSION | |
| isVoid | back to summary |
|---|---|
| public boolean isVoid | |
| primitiveTypesMap | back to summary |
|---|---|
| public static final Map<String, Class<?>> primitiveTypesMap | |
| resolvedType | back to summary |
|---|---|
| protected transient ResolvedType resolvedType | |
| type | back to summary |
|---|---|
| protected UnresolvedType type | |
| ExactTypePattern | back to summary |
|---|---|
| public ExactTypePattern(UnresolvedType type, boolean includeSubtypes, boolean isVarArgs) | |
| accept | back to summary |
|---|---|
| public Object accept(PatternNodeVisitor visitor, Object data) Implements abstract org.
| |
| couldEverMatchSameTypesAs | back to summary |
|---|---|
| protected boolean couldEverMatchSameTypesAs(TypePattern other) Overrides org.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getDimensions | back to summary |
|---|---|
| public int getDimensions() Overrides org. | |
| getResolvedExactType | back to summary |
|---|---|
| public ResolvedType getResolvedExactType(World world) | |
| getType | back to summary |
|---|---|
| public UnresolvedType getType() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isArray | back to summary |
|---|---|
| public boolean isArray() Overrides org.
| |
| isVoid | back to summary |
|---|---|
| public boolean isVoid() Overrides org. Doc from org. for quickly recognizing the pattern 'void'
| |
| matchesArray | back to summary |
|---|---|
| protected boolean matchesArray(UnresolvedType type) Implements abstract org.
| |
| matchesExactly | back to summary |
|---|---|
| protected boolean matchesExactly(ResolvedType matchType) Implements abstract org.
| |
| matchesExactly | back to summary |
|---|---|
| protected boolean matchesExactly(ResolvedType matchType, ResolvedType annotatedType) Implements abstract org.
| |
| matchesInstanceof | back to summary |
|---|---|
| public FuzzyBoolean matchesInstanceof(ResolvedType matchType) Implements abstract org.
| |
| matchesSubtypes | back to summary |
|---|---|
| protected boolean matchesSubtypes(ResolvedType type) Overrides org.
| |
| matchesTypeVariable | back to summary |
|---|---|
| private boolean matchesTypeVariable(TypeVariableReferenceType matchType) | |
| parameterizeWith | back to summary |
|---|---|
| public TypePattern parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) Implements abstract org. return a version of this type pattern with all type variables references replaced by the corresponding entry in the map.
| |
| read | back to summary |
|---|---|
| public static TypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| readTypePattern150 | back to summary |
|---|---|
| public static TypePattern readTypePattern150(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| readTypePatternOldStyle | back to summary |
|---|---|
| public static TypePattern readTypePatternOldStyle(DataInputStream s, ISourceContext context) throws IOException | |
| resolveBindings | back to summary |
|---|---|
| public TypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) Overrides org. Doc from org. This can modify in place, or return a new TypePattern if the type changes.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream out) throws IOException Implements abstract org.
| |