Class | Description |
---|---|
AnnotationSpec |
A generated annotation on a declaration.
|
AnnotationSpec.Builder | |
AnnotationSpec.Visitor |
Annotation value visitor adding members to the given builder instance.
|
ArrayTypeName | |
ClassName |
A fully-qualified class name for top-level and member classes.
|
CodeBlock |
A fragment of a .java file, potentially containing declarations, statements, and documentation.
|
CodeBlock.Builder | |
CodeWriter |
Converts a
JavaFile to a string suitable to both human- and javac-consumption. |
FieldSpec |
A generated field declaration.
|
FieldSpec.Builder | |
JavaFile |
A Java file containing a single top level class.
|
JavaFile.Builder | |
MethodSpec |
A generated constructor or method declaration.
|
MethodSpec.Builder | |
NameAllocator |
Assigns Java identifier names to avoid collisions, keywords, and invalid characters.
|
ParameterizedTypeName | |
ParameterSpec |
A generated parameter declaration.
|
ParameterSpec.Builder | |
TypeName |
Any type in Java's type system, plus
void . |
TypeSpec |
A generated class, interface, or enum declaration.
|
TypeSpec.Builder | |
TypeVariableName | |
Util |
Like Guava, but worse and standalone.
|
WildcardTypeName |
Enum | Description |
---|---|
TypeSpec.Kind |