public class EnvironmentFeatureSet extends Object implements FeatureSet
Feature instances, determined dynamically by calling
FeatureType.forEnvironment(ProcessingEnvironment).| Constructor and Description |
|---|
EnvironmentFeatureSet(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(ProcessingEnvironment env)
public <T extends Feature<T>> T get(FeatureType<T> featureType)
FeatureSetfeatureType.get in interface FeatureSetCopyright © 2016 Google, Inc.. All rights reserved.