Uses of Class
com.google.errorprone.refaster.UType
-
Uses of UType in com.google.errorprone.refaster
Modifier and TypeClassDescriptionclass
A representation of a type with optional generic parameters.class
UType
version ofType.ForAll
.class
UType
representation of anIntersectionClassType
.class
AUType
representation of aType.MethodType
.class
UType
version ofType.TypeVar
.Modifier and TypeMethodDescriptionUTypeVar.getLowerBound()
abstract UType
UForAll.getQuantifiedType()
abstract UType
UMethodType.getReturnType()
UTypeVar.getUpperBound()
UTemplater.template
(com.sun.tools.javac.code.Type type) Modifier and TypeMethodDescriptionTemplate.expressionArgumentTypes()
abstract com.google.common.collect.ImmutableList
<UType> UMethodType.getParameterTypes()
Modifier and TypeMethodDescriptionstatic ExpressionTemplate
ExpressionTemplate.create
(com.google.common.collect.ImmutableClassToInstanceMap<Annotation> annotations, Iterable<UTypeVar> typeVariables, Map<String, ? extends UType> expressionArgumentTypes, UExpression expression, UType returnType) static ExpressionTemplate
ExpressionTemplate.create
(UExpression expression, UType returnType) static ExpressionTemplate
ExpressionTemplate.create
(Map<String, ? extends UType> expressionArgumentTypes, UExpression expression, UType returnType) static UClassType
static UForAll
static UMemberSelect
UMemberSelect.create
(UExpression expression, CharSequence identifier, UType type) static UMethodIdent
UMethodIdent.create
(com.google.errorprone.refaster.UClassIdent classIdent, CharSequence member, UType memberType) static UMethodIdent
UMethodIdent.create
(com.sun.tools.javac.code.Symbol.ClassSymbol classSym, CharSequence member, UType memberType) static UMethodType
static UMethodType
static UStaticIdent
UStaticIdent.create
(com.google.errorprone.refaster.UClassIdent classIdent, CharSequence member, UType memberType) static UStaticIdent
UStaticIdent.create
(com.sun.tools.javac.code.Symbol.ClassSymbol classSym, CharSequence member, UType memberType) static UStaticIdent
UStaticIdent.create
(String qualifiedClass, CharSequence member, UType memberType) static UTypeVar
static UTypeVar
void
UTypeVar.setLowerBound
(UType lowerBound) void
UTypeVar.setUpperBound
(UType upperBound) Modifier and TypeMethodDescriptionstatic BlockTemplate
BlockTemplate.create
(com.google.common.collect.ImmutableClassToInstanceMap<Annotation> annotations, Iterable<UTypeVar> typeVariables, Map<String, ? extends UType> expressionArgumentTypes, Iterable<? extends UStatement> templateStatements) static BlockTemplate
BlockTemplate.create
(Iterable<UTypeVar> typeVariables, Map<String, ? extends UType> expressionArgumentTypes, UStatement... templateStatements) static BlockTemplate
BlockTemplate.create
(Map<String, ? extends UType> expressionArgumentTypes, UStatement... templateStatements) static ExpressionTemplate
ExpressionTemplate.create
(com.google.common.collect.ImmutableClassToInstanceMap<Annotation> annotations, Iterable<UTypeVar> typeVariables, Map<String, ? extends UType> expressionArgumentTypes, UExpression expression, UType returnType) static ExpressionTemplate
ExpressionTemplate.create
(Map<String, ? extends UType> expressionArgumentTypes, UExpression expression, UType returnType) static UClassType
UClassType.create
(CharSequence fullyQualifiedClass, List<UType> typeArguments) static UMethodType