public class InferenceVariableType
extends java.lang.Object
implements com.github.javaparser.resolution.types.ResolvedType
| Constructor and Description |
|---|
InferenceVariableType(int id,
ObjectProvider objectProvider) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
describe() |
boolean |
equals(java.lang.Object o) |
com.github.javaparser.resolution.types.ResolvedType |
equivalentType() |
static InferenceVariableType |
fromWildcard(com.github.javaparser.resolution.types.ResolvedWildcard wildcard,
int id,
ObjectProvider objectProvider) |
int |
hashCode() |
boolean |
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other) |
void |
registerEquivalentType(com.github.javaparser.resolution.types.ResolvedType type) |
void |
setCorrespondingTp(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration correspondingTp) |
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitarrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asWildcard, isArray, isConstraint, isNull, isPrimitive, isReference, isReferenceType, isTypeVariable, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariablespublic InferenceVariableType(int id,
ObjectProvider objectProvider)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setCorrespondingTp(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration correspondingTp)
public void registerEquivalentType(com.github.javaparser.resolution.types.ResolvedType type)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static InferenceVariableType fromWildcard(com.github.javaparser.resolution.types.ResolvedWildcard wildcard, int id, ObjectProvider objectProvider)
public java.lang.String describe()
describe in interface com.github.javaparser.resolution.types.ResolvedTypepublic boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other)
isAssignableBy in interface com.github.javaparser.resolution.types.ResolvedTypepublic com.github.javaparser.resolution.types.ResolvedType equivalentType()