| Modifier and Type | Field and Description |
|---|---|
| private final ParameterizedTypeName | |
| public final ClassName | |
| public final List |
| Access | Constructor and Description |
|---|---|
| pack-priv | ParameterizedTypeName(ParameterizedTypeName enclosingType, ClassName rawType, List<TypeName> typeArguments)
|
| private | ParameterizedTypeName(ParameterizedTypeName enclosingType, ClassName rawType, List<TypeName> typeArguments, List<AnnotationSpec> annotations)
|
| Modifier and Type | Method and Description |
|---|---|
| public ParameterizedTypeName | |
| pack-priv CodeWriter | |
| public static ParameterizedTypeName | |
| public static ParameterizedTypeName | |
| public static ParameterizedTypeName | |
| pack-priv static ParameterizedTypeName | get(ParameterizedType type, Map<Type, TypeVariableName> map)
Returns a parameterized type equivalent to |
| public ParameterizedTypeName | nestedClass(String name)
Returns a new |
| public ParameterizedTypeName | nestedClass(String name, List<TypeName> typeArguments)
Returns a new |
| public TypeName |
| enclosingType | back to summary |
|---|---|
| private final ParameterizedTypeName enclosingType | |
| rawType | back to summary |
|---|---|
| public final ClassName rawType | |
| typeArguments | back to summary |
|---|---|
| public final List<TypeName> typeArguments | |
| ParameterizedTypeName | back to summary |
|---|---|
| pack-priv ParameterizedTypeName(ParameterizedTypeName enclosingType, ClassName rawType, List<TypeName> typeArguments) | |
| ParameterizedTypeName | back to summary |
|---|---|
| private ParameterizedTypeName(ParameterizedTypeName enclosingType, ClassName rawType, List<TypeName> typeArguments, List<AnnotationSpec> annotations) | |
| annotated | back to summary |
|---|---|
| public ParameterizedTypeName annotated(List<AnnotationSpec> annotations) Overrides com.
| |
| emit | back to summary |
|---|---|
| pack-priv CodeWriter emit(CodeWriter out) throws IOException Overrides com.
| |
| get | back to summary |
|---|---|
| public static ParameterizedTypeName get(ClassName rawType, TypeName... typeArguments) Returns a parameterized type, applying | |
| get | back to summary |
|---|---|
| public static ParameterizedTypeName get(Class<?> rawType, Type... typeArguments) Returns a parameterized type, applying | |
| get | back to summary |
|---|---|
| public static ParameterizedTypeName get(ParameterizedType type) Returns a parameterized type equivalent to | |
| get | back to summary |
|---|---|
| pack-priv static ParameterizedTypeName get(ParameterizedType type, Map<Type, TypeVariableName> map) Returns a parameterized type equivalent to | |
| nestedClass | back to summary |
|---|---|
| public ParameterizedTypeName nestedClass(String name) Returns a new | |
| nestedClass | back to summary |
|---|---|
| public ParameterizedTypeName nestedClass(String name, List<TypeName> typeArguments) Returns a new | |
| withoutAnnotations | back to summary |
|---|---|
| public TypeName withoutAnnotations() Overrides com.
| |