Modifier and Type | Field and Description |
---|---|
List<TypeVariableName> |
TypeSpec.typeVariables |
List<TypeVariableName> |
MethodSpec.typeVariables |
Modifier and Type | Method and Description |
---|---|
static TypeVariableName |
TypeVariableName.get(String name)
Returns type variable named
name without bounds. |
static TypeVariableName |
TypeVariableName.get(String name,
Type... bounds)
Returns type variable named
name with bounds . |
static TypeVariableName |
TypeVariableName.get(String name,
TypeName... bounds)
Returns type variable named
name with bounds . |
static TypeVariableName |
TypeVariableName.get(TypeParameterElement element)
Returns type variable equivalent to
element . |
static TypeVariableName |
TypeVariableName.get(TypeVariable mirror)
Returns type variable equivalent to
mirror . |
static TypeVariableName |
TypeVariableName.get(TypeVariable<?> type)
Returns type variable equivalent to
type . |
Modifier and Type | Method and Description |
---|---|
TypeSpec.Builder |
TypeSpec.Builder.addTypeVariable(TypeVariableName typeVariable) |
MethodSpec.Builder |
MethodSpec.Builder.addTypeVariable(TypeVariableName typeVariable) |
Modifier and Type | Method and Description |
---|---|
TypeSpec.Builder |
TypeSpec.Builder.addTypeVariables(Iterable<TypeVariableName> typeVariables) |
MethodSpec.Builder |
MethodSpec.Builder.addTypeVariables(Iterable<TypeVariableName> typeVariables) |
Copyright © 2015 Square, Inc.. All Rights Reserved.