Class UMethodType
java.lang.Object
com.google.errorprone.refaster.UType
com.google.errorprone.refaster.UMethodType
- All Implemented Interfaces:
Unifiable<com.sun.tools.javac.code.Type>, 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
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 methodTy, @Nullable Unifier unifier) 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)
-
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
-
visitCapturedType
-
visitForAll
-
visitUndetVar
-
visit
-
visitClassType
-
visitWildcardType
-
visitArrayType
-
visitPackageType
-
visitModuleType
-
visitTypeVar
-
visitErrorType
-