Class UTypeVar
java.lang.Object
com.google.errorprone.refaster.UType
com.google.errorprone.refaster.UTypeVar
- All Implemented Interfaces:
Unifiable<com.sun.tools.javac.code.Type>, Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Bindings key linked to aUTypeVar
.static class
Tuple of an expression with an associated type. -
Method Summary
Modifier and TypeMethodDescriptionstatic UTypeVar
static UTypeVar
static UTypeVar
boolean
getName()
int
hashCode()
com.sun.tools.javac.code.Type
key()
void
setLowerBound
(UType lowerBound) void
setUpperBound
(UType upperBound) toString()
visitArrayType
(com.sun.tools.javac.code.Type.ArrayType arg0, Unifier arg1) visitCapturedType
(com.sun.tools.javac.code.Type.CapturedType arg0, Unifier arg1) visitClassType
(com.sun.tools.javac.code.Type.ClassType arg0, Unifier arg1) visitErrorType
(com.sun.tools.javac.code.Type.ErrorType arg0, Unifier arg1) visitForAll
(com.sun.tools.javac.code.Type.ForAll arg0, Unifier arg1) visitMethodType
(com.sun.tools.javac.code.Type.MethodType arg0, Unifier arg1) visitModuleType
(com.sun.tools.javac.code.Type.ModuleType arg0, Unifier arg1) visitPackageType
(com.sun.tools.javac.code.Type.PackageType arg0, Unifier arg1) visitTypeVar
(com.sun.tools.javac.code.Type.TypeVar arg0, Unifier arg1) visitUndetVar
(com.sun.tools.javac.code.Type.UndetVar arg0, Unifier arg1) visitWildcardType
(com.sun.tools.javac.code.Type.WildcardType arg0, Unifier arg1)
-
Method Details
-
create
-
create
-
create
-
visitType
-
key
-
getName
-
getLowerBound
-
getUpperBound
-
setLowerBound
- Parameters:
lowerBound
- the lowerBound to set
-
setUpperBound
- Parameters:
upperBound
- the upperBound to set
-
inline
- Throws:
CouldNotResolveImportException
-
hashCode
-
equals
-
toString
-
visitCapturedType
-
visitForAll
-
visitUndetVar
-
visit
-
visitClassType
-
visitWildcardType
-
visitArrayType
-
visitMethodType
-
visitPackageType
-
visitModuleType
-
visitTypeVar
-
visitErrorType
-