Class InferenceVariableType
java.lang.Object
com.github.javaparser.resolution.logic.InferenceVariableType
- All Implemented Interfaces:
ResolvedType
An element using during type inference.
- Author:
- Federico Tomassetti
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()booleaninthashCode()booleanisAssignableBy(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.voidvoidsetCorrespondingTp(ResolvedTypeParameterDeclaration correspondingTp) toString()Methods inherited from interface 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, solveGenericTypes, toDescriptor
-
Constructor Details
-
InferenceVariableType
-
-
Method Details
-
toString
-
setCorrespondingTp
-
registerEquivalentType
-
equals
-
hashCode
-
describe
- Specified by:
describein interfaceResolvedType
-
isAssignableBy
Description copied from interface:ResolvedTypeThis method checks if ThisType t = new OtherType() would compile.- Specified by:
isAssignableByin interfaceResolvedType
-
equivalentType
-