Class EnvironmentFeatureSet
java.lang.Object
org.inferred.freebuilder.processor.source.feature.EnvironmentFeatureSet
- All Implemented Interfaces:
FeatureSet
A set of
Feature instances, determined dynamically by calling
FeatureType.forEnvironment(javax.annotation.processing.ProcessingEnvironment, org.inferred.freebuilder.processor.source.feature.FeatureSet).-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ProcessingEnvironmentprivate final Map<FeatureType<?>, Feature<?>> -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a feature set using the given processing environment. -
Method Summary
Modifier and TypeMethodDescription<T extends Feature<T>>
Tget(FeatureType<T> featureType) Returns an instance offeatureType.
-
Field Details
-
env
-
featuresByType
-
-
Constructor Details
-
EnvironmentFeatureSet
Constructs a feature set using the given processing environment.
-
-
Method Details
-
get
Description copied from interface:FeatureSetReturns an instance offeatureType.- Specified by:
getin interfaceFeatureSet
-