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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()booleanstatic InferenceVariableTypefromWildcard(ResolvedWildcard wildcard, int id, ObjectProvider objectProvider)inthashCode()booleanisAssignableBy(ResolvedType other)voidvoidsetCorrespondingTp(ResolvedTypeParameterDeclaration correspondingTp)toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.types.ResolvedType
arrayLevel, asArrayType, asConstraintType, asPrimitive, asReferenceType, asTypeParameter, asTypeVariable, asUnionType, asWildcard, erasure, 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:
describein interfaceResolvedType
-
isAssignableBy
- Specified by:
isAssignableByin interfaceResolvedType
-
equivalentType
-