| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public final Set | |
| public final List | |
| public final CodeBlock | |
| public final Map | |
| public final List | |
| public final CodeBlock | |
| public final CodeBlock | |
| public final TypeSpec. | |
| public final List | |
| public final Set | |
| public final String | |
| pack-priv final Set | |
| public final List | |
| public final CodeBlock | |
| public final TypeName | |
| public final List | |
| public final List | |
| public final List |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TypeSpec. | |
| public static TypeSpec. | |
| public static TypeSpec. | |
| public static TypeSpec. | |
| public static TypeSpec. | |
| public static TypeSpec. | |
| pack-priv void | |
| public static TypeSpec. | |
| public static TypeSpec. | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public int | |
| public boolean | |
| public static TypeSpec. | |
| public static TypeSpec. | |
| public TypeSpec. | |
| public String |
| alwaysQualifiedNames | back to summary |
|---|---|
| public final Set<String> alwaysQualifiedNames | |
| annotations | back to summary |
|---|---|
| public final List<AnnotationSpec> annotations | |
| anonymousTypeArguments | back to summary |
|---|---|
| public final CodeBlock anonymousTypeArguments | |
| enumConstants | back to summary |
|---|---|
| public final Map<String, TypeSpec> enumConstants | |
| fieldSpecs | back to summary |
|---|---|
| public final List<FieldSpec> fieldSpecs | |
| initializerBlock | back to summary |
|---|---|
| public final CodeBlock initializerBlock | |
| javadoc | back to summary |
|---|---|
| public final CodeBlock javadoc | |
| kind | back to summary |
|---|---|
| public final TypeSpec. | |
| methodSpecs | back to summary |
|---|---|
| public final List<MethodSpec> methodSpecs | |
| modifiers | back to summary |
|---|---|
| public final Set<Modifier> modifiers | |
| name | back to summary |
|---|---|
| public final String name | |
| nestedTypesSimpleNames | back to summary |
|---|---|
| pack-priv final Set<String> nestedTypesSimpleNames | |
| originatingElements | back to summary |
|---|---|
| public final List<Element> originatingElements | |
| staticBlock | back to summary |
|---|---|
| public final CodeBlock staticBlock | |
| superclass | back to summary |
|---|---|
| public final TypeName superclass | |
| superinterfaces | back to summary |
|---|---|
| public final List<TypeName> superinterfaces | |
| typeSpecs | back to summary |
|---|---|
| public final List<TypeSpec> typeSpecs | |
| typeVariables | back to summary |
|---|---|
| public final List<TypeVariableName> typeVariables | |
| TypeSpec | back to summary |
|---|---|
| private TypeSpec(TypeSpec. | |
| TypeSpec | back to summary |
|---|---|
| private TypeSpec(TypeSpec type) Creates a dummy type spec for type-resolution only (in CodeWriter) while emitting the type declaration but before entering the type body. | |
| annotationBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| annotationBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| anonymousClassBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| anonymousClassBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| classBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| classBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| emit | back to summary |
|---|---|
| pack-priv void emit(CodeWriter codeWriter, String enumName, Set<Modifier> implicitModifiers) throws IOException | |
| enumBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| enumBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasModifier | back to summary |
|---|---|
| public boolean hasModifier(Modifier modifier) | |
| interfaceBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| interfaceBuilder | back to summary |
|---|---|
| public static TypeSpec. | |
| toBuilder | back to summary |
|---|---|
| public TypeSpec. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public final Set | |
| public final List | |
| private final CodeBlock | |
| public final Map | |
| public final List | |
| private final CodeBlock. | |
| private final CodeBlock. | |
| private final TypeSpec. | |
| public final List | |
| public final List | |
| private final String | |
| public final List | |
| private final CodeBlock. | |
| private TypeName | |
| public final List | |
| public final List | |
| public final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | Returns: this builder instance.the typeElement)TypeElement with nested types to avoid clashes with.Call this to always fully qualify any types that would conflict with possibly nested types of
this |
| public TypeSpec. | Returns: this builder instance.the clazz)Class with nested types to avoid clashes with.Call this to always fully qualify any types that would conflict with possibly nested types of
this |
| public TypeSpec | |
| private Class | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. | |
| public TypeSpec. |
| alwaysQualifiedNames | back to summary |
|---|---|
| public final Set<String> alwaysQualifiedNames | |
| annotations | back to summary |
|---|---|
| public final List<AnnotationSpec> annotations | |
| anonymousTypeArguments | back to summary |
|---|---|
| private final CodeBlock anonymousTypeArguments | |
| enumConstants | back to summary |
|---|---|
| public final Map<String, TypeSpec> enumConstants | |
| fieldSpecs | back to summary |
|---|---|
| public final List<FieldSpec> fieldSpecs | |
| initializerBlock | back to summary |
|---|---|
| private final CodeBlock. | |
| javadoc | back to summary |
|---|---|
| private final CodeBlock. | |
| kind | back to summary |
|---|---|
| private final TypeSpec. | |
| methodSpecs | back to summary |
|---|---|
| public final List<MethodSpec> methodSpecs | |
| modifiers | back to summary |
|---|---|
| public final List<Modifier> modifiers | |
| name | back to summary |
|---|---|
| private final String name | |
| originatingElements | back to summary |
|---|---|
| public final List<Element> originatingElements | |
| staticBlock | back to summary |
|---|---|
| private final CodeBlock. | |
| superclass | back to summary |
|---|---|
| private TypeName superclass | |
| superinterfaces | back to summary |
|---|---|
| public final List<TypeName> superinterfaces | |
| typeSpecs | back to summary |
|---|---|
| public final List<TypeSpec> typeSpecs | |
| typeVariables | back to summary |
|---|---|
| public final List<TypeVariableName> typeVariables | |
| Builder | back to summary |
|---|---|
| private Builder(TypeSpec. | |
| addAnnotation | back to summary |
|---|---|
| public TypeSpec. | |
| addAnnotation | back to summary |
|---|---|
| public TypeSpec. | |
| addAnnotation | back to summary |
|---|---|
| public TypeSpec. | |
| addAnnotations | back to summary |
|---|---|
| public TypeSpec. | |
| addEnumConstant | back to summary |
|---|---|
| public TypeSpec. | |
| addEnumConstant | back to summary |
|---|---|
| public TypeSpec. | |
| addField | back to summary |
|---|---|
| public TypeSpec. | |
| addField | back to summary |
|---|---|
| public TypeSpec. | |
| addField | back to summary |
|---|---|
| public TypeSpec. | |
| addFields | back to summary |
|---|---|
| public TypeSpec. | |
| addInitializerBlock | back to summary |
|---|---|
| public TypeSpec. | |
| addJavadoc | back to summary |
|---|---|
| public TypeSpec. | |
| addJavadoc | back to summary |
|---|---|
| public TypeSpec. | |
| addMethod | back to summary |
|---|---|
| public TypeSpec. | |
| addMethods | back to summary |
|---|---|
| public TypeSpec. | |
| addModifiers | back to summary |
|---|---|
| public TypeSpec. | |
| addOriginatingElement | back to summary |
|---|---|
| public TypeSpec. | |
| addStaticBlock | back to summary |
|---|---|
| public TypeSpec. | |
| addSuperinterface | back to summary |
|---|---|
| public TypeSpec. | |
| addSuperinterface | back to summary |
|---|---|
| public TypeSpec. | |
| addSuperinterface | back to summary |
|---|---|
| public TypeSpec. | |
| addSuperinterface | back to summary |
|---|---|
| public TypeSpec. | |
| addSuperinterface | back to summary |
|---|---|
| public TypeSpec. | |
| addSuperinterfaces | back to summary |
|---|---|
| public TypeSpec. | |
| addType | back to summary |
|---|---|
| public TypeSpec. | |
| addTypes | back to summary |
|---|---|
| public TypeSpec. | |
| addTypeVariable | back to summary |
|---|---|
| public TypeSpec. | |
| addTypeVariables | back to summary |
|---|---|
| public TypeSpec. | |
| alwaysQualify | back to summary |
|---|---|
| public TypeSpec. | |
| avoidClashesWithNestedClasses | back to summary |
|---|---|
| public TypeSpec. Call this to always fully qualify any types that would conflict with possibly nested types of
this
Then this would add
| |
| avoidClashesWithNestedClasses | back to summary |
|---|---|
| public TypeSpec. Call this to always fully qualify any types that would conflict with possibly nested types of
this
Then this would add | |
| build | back to summary |
|---|---|
| public TypeSpec build() | |
| getRawType | back to summary |
|---|---|
| private Class | |
| superclass | back to summary |
|---|---|
| public TypeSpec. | |
| superclass | back to summary |
|---|---|
| public TypeSpec. | |
| superclass | back to summary |
|---|---|
| public TypeSpec. | |
| superclass | back to summary |
|---|---|
| public TypeSpec. | |
| superclass | back to summary |
|---|---|
| public TypeSpec. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final TypeSpec. | |
| private final Set | |
| public static final TypeSpec. | |
| public static final TypeSpec. | |
| private final Set | |
| private final Set | |
| private final Set | |
| public static final TypeSpec. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TypeSpec. | |
| public static TypeSpec. |
| ANNOTATION | back to summary |
|---|---|
| public static final TypeSpec. | |
| asMemberModifiers | back to summary |
|---|---|
| private final Set<Modifier> asMemberModifiers | |
| CLASS | back to summary |
|---|---|
| public static final TypeSpec. | |
| ENUM | back to summary |
|---|---|
| public static final TypeSpec. | |
| implicitFieldModifiers | back to summary |
|---|---|
| private final Set<Modifier> implicitFieldModifiers | |
| implicitMethodModifiers | back to summary |
|---|---|
| private final Set<Modifier> implicitMethodModifiers | |
| implicitTypeModifiers | back to summary |
|---|---|
| private final Set<Modifier> implicitTypeModifiers | |
| INTERFACE | back to summary |
|---|---|
| public static final TypeSpec. | |
| Kind | back to summary |
|---|---|
| private Kind(Set<Modifier> implicitFieldModifiers, Set<Modifier> implicitMethodModifiers, Set<Modifier> implicitTypeModifiers, Set<Modifier> asMemberModifiers) | |
| valueOf | back to summary |
|---|---|
| public static TypeSpec. | |
| values | back to summary |
|---|---|
| public static TypeSpec. | |