Class InferenceVariableType
java.lang.Object
com.github.javaparser.symbolsolver.logic.InferenceVariableType
- All Implemented Interfaces:
ResolvedType
An element using during type inference.
- Author:
- Federico Tomassetti
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondescribe()
boolean
static InferenceVariableType
fromWildcard(ResolvedWildcard wildcard, int id, ObjectProvider objectProvider)
int
hashCode()
boolean
isAssignableBy(ResolvedType other)
void
void
setCorrespondingTp(ResolvedTypeParameterDeclaration correspondingTp)
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.javaparser.resolution.types.ResolvedType
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, isArray, isConstraint, isInferenceVariable, isNull, isNumericType, isPrimitive, isReference, isReferenceType, isTypeVariable, isUnionType, isVoid, isWildcard, mention, replaceTypeVariables, replaceTypeVariables
-
Constructor Details
-
InferenceVariableType
-
-
Method Details
-
toString
-
setCorrespondingTp
-
registerEquivalentType
-
equals
-
hashCode
public int hashCode() -
fromWildcard
public static InferenceVariableType fromWildcard(ResolvedWildcard wildcard, int id, ObjectProvider objectProvider) -
describe
- Specified by:
describe
in interfaceResolvedType
-
isAssignableBy
- Specified by:
isAssignableBy
in interfaceResolvedType
-
equivalentType
-