| Package | Description |
|---|---|
| org.inferred.freebuilder.processor | |
| org.inferred.freebuilder.processor.util |
| Modifier and Type | Method and Description |
|---|---|
Set<? extends Excerpt> |
PropertyCodeGenerator.getStaticMethods()
Returns excerpts for any static methods added by this generator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ParameterizedType |
| Modifier and Type | Method and Description |
|---|---|
static Excerpt |
PreconditionExcerpts.checkArgument(Object condition,
String message,
Object... args)
Returns an excerpt equivalent to Guava's
Preconditions.checkArgument(boolean, String, Object...). |
static Excerpt |
PreconditionExcerpts.checkNotNull(Object reference)
Returns an excerpt equivalent to Guava's
Preconditions.checkNotNull(Object). |
static Excerpt |
PreconditionExcerpts.checkNotNullInline(Object reference)
Returns an excerpt equivalent to an inline call to Guava's
Preconditions.checkNotNull(Object). |
static Excerpt |
PreconditionExcerpts.checkNotNullPreamble(Object reference)
Returns an excerpt of the preamble required to emulate an inline call to Guava's
Preconditions.checkNotNull(Object) method. |
static Excerpt |
PreconditionExcerpts.checkState(Object condition,
String message,
Object... args)
Returns an excerpt equivalent to Guava's
Preconditions.checkState(boolean, String, Object...). |
Excerpt |
ParameterizedType.constructor()
Returns a source excerpt suitable for constructing an instance of this type, including "new"
keyword but excluding brackets.
|
Excerpt |
ParameterizedType.declaration()
Returns a source excerpt suitable for declaring this type, i.e.
|
Excerpt |
ParameterizedType.javadocLink()
Returns a source excerpt of a JavaDoc link to this type.
|
Excerpt |
ParameterizedType.javadocNoArgMethodLink(String memberName)
Returns a source excerpt of a JavaDoc link to a no-args method on this type.
|
Excerpt |
ParameterizedType.typeParameters()
Returns a source excerpt of the type parameters of this type, including angle brackets.
|
| Modifier and Type | Method and Description |
|---|---|
SourceBuilder |
SourceStringBuilder.add(Excerpt excerpt) |
SourceBuilder |
SourceBuilder.add(Excerpt excerpt)
Equivalent to
add("%s", excerpt). |
SourceBuilder |
CompilationUnitWriter.add(Excerpt excerpt) |
Copyright © 2016 Google, Inc.. All rights reserved.