public class InferenceVariableType
extends java.lang.Object
implements com.github.javaparser.symbolsolver.model.typesystem.Type
| 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.symbolsolver.model.typesystem.Type |
equivalentType() |
static InferenceVariableType |
fromWildcard(com.github.javaparser.symbolsolver.model.typesystem.Wildcard wildcard,
int id,
ObjectProvider objectProvider) |
int |
hashCode() |
boolean |
isAssignableBy(com.github.javaparser.symbolsolver.model.typesystem.Type other) |
void |
registerEquivalentType(com.github.javaparser.symbolsolver.model.typesystem.Type type) |
void |
setCorrespondingTp(com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration 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, replaceTypeVariables, replaceTypeVariablespublic InferenceVariableType(int id,
ObjectProvider objectProvider)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setCorrespondingTp(com.github.javaparser.symbolsolver.model.declarations.TypeParameterDeclaration correspondingTp)
public void registerEquivalentType(com.github.javaparser.symbolsolver.model.typesystem.Type 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.symbolsolver.model.typesystem.Wildcard wildcard, int id, ObjectProvider objectProvider)
public java.lang.String describe()
describe in interface com.github.javaparser.symbolsolver.model.typesystem.Typepublic boolean isAssignableBy(com.github.javaparser.symbolsolver.model.typesystem.Type other)
isAssignableBy in interface com.github.javaparser.symbolsolver.model.typesystem.Typepublic com.github.javaparser.symbolsolver.model.typesystem.Type equivalentType()