| Package | Description |
|---|---|
| org.inferred.freebuilder.processor | |
| org.inferred.freebuilder.processor.util | |
| org.inferred.freebuilder.processor.util.feature |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableSet<QualifiedName> |
Metadata.getVisibleNestedTypes()
Returns a set of nested types that will be visible in the generated class, either because they
will be generated, or because they are present in a superclass.
|
| Modifier and Type | Method and Description |
|---|---|
QualifiedName |
QualifiedName.getEnclosingType()
Returns the
QualifiedName of the type enclosing this one. |
QualifiedName |
ParameterizedType.getQualifiedName() |
QualifiedName |
QualifiedName.nestedType(String simpleName)
Returns the
QualifiedName of a type called simpleName nested in this one. |
static QualifiedName |
QualifiedName.of(Class<?> cls)
Returns a
QualifiedName for cls. |
static QualifiedName |
QualifiedName.of(String packageName,
String topLevelType,
String... nestedTypes)
Returns a
QualifiedName for a type in packageName. |
static QualifiedName |
QualifiedName.of(TypeElement type)
Returns a
QualifiedName for type. |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Optional<AnnotationMirror> |
ModelUtils.findAnnotationMirror(Element element,
QualifiedName annotationClass)
Returns an
AnnotationMirror for the annotation of type annotationClass on
element, or Optional.absent() if no such annotation exists. |
static void |
FilerUtils.writeCompilationUnit(Filer filer,
QualifiedName classToWrite,
Element originatingElement,
String source)
Writes
source to the correct file for classToWrite. |
| Constructor and Description |
|---|
CompilationUnitBuilder(ProcessingEnvironment env,
QualifiedName classToWrite,
Collection<QualifiedName> nestedClasses)
Returns a
CompilationUnitBuilder for classToWrite. |
| Constructor and Description |
|---|
CompilationUnitBuilder(ProcessingEnvironment env,
QualifiedName classToWrite,
Collection<QualifiedName> nestedClasses)
Returns a
CompilationUnitBuilder for classToWrite. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<QualifiedName> |
SourceLevel.javaUtilObjects() |
Copyright © 2016 Google, Inc.. All rights reserved.