| Package | Description |
|---|---|
| org.inferred.freebuilder.processor.util | |
| org.inferred.freebuilder.processor.util.feature |
| Modifier and Type | Method and Description |
|---|---|
<T extends Feature<T>> |
SourceStringBuilder.feature(FeatureType<T> feature) |
<T extends Feature<T>> |
SourceBuilder.feature(FeatureType<T> featureType)
Returns the instance of
featureType appropriate for the source being written. |
<T extends Feature<T>> |
CompilationUnitBuilder.feature(FeatureType<T> feature) |
| Modifier and Type | Field and Description |
|---|---|
static FeatureType<GuavaLibrary> |
GuavaLibrary.GUAVA
Constant to pass to
SourceBuilder.feature(FeatureType) to get the current status of
GuavaLibrary. |
static FeatureType<SourceLevel> |
SourceLevel.SOURCE_LEVEL
Constant to pass to
SourceBuilder.feature(FeatureType) to get the current
SourceLevel. |
| Modifier and Type | Method and Description |
|---|---|
<T extends Feature<T>> |
StaticFeatureSet.get(FeatureType<T> featureType)
Returns the registered instance of
featureType, or the value of
testDefault() if no explicit instance was registered with this set. |
<T extends Feature<T>> |
FeatureSet.get(FeatureType<T> featureType)
Returns an instance of
featureType. |
<T extends Feature<T>> |
EnvironmentFeatureSet.get(FeatureType<T> featureType) |
Copyright © 2016 Google, Inc.. All rights reserved.