| Modifier and Type | Field and Description |
|---|---|
java.util.List<TypeVariableName> |
TypeSpec.typeVariables |
java.util.List<TypeVariableName> |
TypeSpec.Builder.typeVariables |
java.util.List<TypeVariableName> |
MethodSpec.typeVariables |
java.util.List<TypeVariableName> |
MethodSpec.Builder.typeVariables |
| Modifier and Type | Method and Description |
|---|---|
TypeVariableName |
TypeVariableName.annotated(java.util.List<AnnotationSpec> annotations) |
static TypeVariableName |
TypeVariableName.get(java.lang.String name)
Returns type variable named
name without bounds. |
static TypeVariableName |
TypeVariableName.get(java.lang.String name,
java.lang.reflect.Type... bounds)
Returns type variable named
name with bounds. |
static TypeVariableName |
TypeVariableName.get(java.lang.String name,
TypeName... bounds)
Returns type variable named
name with bounds. |
static TypeVariableName |
TypeVariableName.get(javax.lang.model.element.TypeParameterElement element)
Returns type variable equivalent to
element. |
static TypeVariableName |
TypeVariableName.get(javax.lang.model.type.TypeVariable mirror)
Returns type variable equivalent to
mirror. |
static TypeVariableName |
TypeVariableName.get(java.lang.reflect.TypeVariable<?> type)
Returns type variable equivalent to
type. |
TypeVariableName |
TypeVariableName.withBounds(java.util.List<? extends TypeName> bounds) |
TypeVariableName |
TypeVariableName.withBounds(java.lang.reflect.Type... bounds) |
TypeVariableName |
TypeVariableName.withBounds(TypeName... bounds) |
| 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(java.lang.Iterable<TypeVariableName> typeVariables) |
MethodSpec.Builder |
MethodSpec.Builder.addTypeVariables(java.lang.Iterable<TypeVariableName> typeVariables) |
Copyright © 2020 Square, Inc.. All Rights Reserved.