public class InferenceVariable
extends java.lang.Object
implements com.github.javaparser.resolution.types.ResolvedType
| Constructor and Description |
|---|
InferenceVariable(java.lang.String name,
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
describe() |
boolean |
equals(java.lang.Object o) |
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration |
getTypeParameterDeclaration() |
int |
hashCode() |
static java.util.List<InferenceVariable> |
instantiate(java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameterDeclarations) |
boolean |
isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other) |
boolean |
mention(java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameters) |
java.lang.String |
toString() |
static InferenceVariable |
unnamed(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration) |
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 InferenceVariable(java.lang.String name,
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration)
public static java.util.List<InferenceVariable> instantiate(java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameterDeclarations)
public static InferenceVariable unnamed(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration)
public java.lang.String describe()
describe in interface com.github.javaparser.resolution.types.ResolvedTypepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isAssignableBy(com.github.javaparser.resolution.types.ResolvedType other)
isAssignableBy in interface com.github.javaparser.resolution.types.ResolvedTypepublic com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration getTypeParameterDeclaration()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean mention(java.util.List<com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration> typeParameters)
mention in interface com.github.javaparser.resolution.types.ResolvedType