public class EnvironmentFeatureSet extends java.lang.Object implements FeatureSet
Feature instances, determined dynamically by calling
FeatureType.forEnvironment(javax.annotation.processing.ProcessingEnvironment, org.inferred.freebuilder.processor.source.feature.FeatureSet).| Constructor and Description |
|---|
EnvironmentFeatureSet(javax.annotation.processing.ProcessingEnvironment env)
Constructs a feature set using the given processing environment.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Feature<T>> |
get(FeatureType<T> featureType)
Returns an instance of
featureType. |
public EnvironmentFeatureSet(javax.annotation.processing.ProcessingEnvironment env)
public <T extends Feature<T>> T get(FeatureType<T> featureType)
FeatureSetfeatureType.get in interface FeatureSet