Package com.google.errorprone.refaster
Class UMethodType
java.lang.Object
com.sun.tools.javac.code.Types.DefaultTypeVisitor<R,S>
com.sun.tools.javac.code.Types.SimpleVisitor<Choice<Unifier>,Unifier>
com.google.errorprone.refaster.UType
com.google.errorprone.refaster.UMethodType
- All Implemented Interfaces:
Unifiable<com.sun.tools.javac.code.Type>
,com.sun.tools.javac.code.Type.Visitor<Choice<Unifier>,
,Unifier> Serializable
A
UType
representation of a Type.MethodType
. This can be used to e.g. disambiguate
method overloads.- Author:
- lowasser@google.com (Louis Wasserman)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UMethodType
static UMethodType
abstract com.google.common.collect.ImmutableList<UType>
abstract UType
com.sun.tools.javac.code.Type.MethodType
visitMethodType
(com.sun.tools.javac.code.Type.MethodType methodTy, Unifier unifier) Methods inherited from class com.sun.tools.javac.code.Types.SimpleVisitor
visitCapturedType, visitForAll, visitUndetVar
Methods inherited from class com.sun.tools.javac.code.Types.DefaultTypeVisitor
visit, visitArrayType, visitClassType, visitErrorType, visitModuleType, visitPackageType, visitTypeVar, visitWildcardType
-
Constructor Details
-
UMethodType
public UMethodType()
-
-
Method Details
-
create
-
create
-
getReturnType
-
getParameterTypes
-
visitMethodType
-
inline
public com.sun.tools.javac.code.Type.MethodType inline(Inliner inliner) throws CouldNotResolveImportException - Throws:
CouldNotResolveImportException
-