Uses of Interface
org.inferred.freebuilder.processor.source.feature.Feature
Packages that use Feature
Package
Description
-
Uses of Feature in org.inferred.freebuilder.processor.source
Methods in org.inferred.freebuilder.processor.source with type parameters of type FeatureModifier and TypeMethodDescription<T extends Feature<T>>
TCompilationUnitBuilder.feature(FeatureType<T> feature) <T extends Feature<T>>
TSourceBuilder.feature(FeatureType<T> featureType) Returns the instance offeatureTypeappropriate for the source being written.Methods in org.inferred.freebuilder.processor.source with parameters of type FeatureModifier and TypeMethodDescriptionstatic SourceBuilderSourceBuilder.forTesting(Feature<?>... features) Returns aSourceBuilderusingfeatures. -
Uses of Feature in org.inferred.freebuilder.processor.source.feature
Classes in org.inferred.freebuilder.processor.source.feature with type parameters of type FeatureModifier and TypeInterfaceDescriptioninterfaceA feature encapsulates the availability of a type or source level feature that can be used in the source written to aSourceBuilder, such as Java language-level features, or Guava types and methods.classFeatureType<F extends Feature<F>>Algorithm to select the correct instance of a given feature type for a processing environment, and the default to use in tests when an explicit value has not been registered for that feature.Classes in org.inferred.freebuilder.processor.source.feature that implement FeatureModifier and TypeClassDescriptionenumWhether the Guava library is available or not.enumTypes in the javax package, if available.enumTypes from JSR 305, if available.enumCompliance levels which are idiomatically supported by this processor.Fields in org.inferred.freebuilder.processor.source.feature with type parameters of type FeatureModifier and TypeFieldDescriptionprivate final Map<FeatureType<?>, Feature<?>> EnvironmentFeatureSet.featuresByTypeStaticFeatureSet.featuresByTypeStaticFeatureSet.featuresByTypeMethods in org.inferred.freebuilder.processor.source.feature with type parameters of type FeatureModifier and TypeMethodDescription<T extends Feature<T>>
TEnvironmentFeatureSet.get(FeatureType<T> featureType) <T extends Feature<T>>
TFeatureSet.get(FeatureType<T> featureType) Returns an instance offeatureType.<T extends Feature<T>>
TStaticFeatureSet.get(FeatureType<T> featureType) Returns the registered instance offeatureType, or the value ofFeatureType.testDefault(org.inferred.freebuilder.processor.source.feature.FeatureSet)if no explicit instance was registered with this set.Constructors in org.inferred.freebuilder.processor.source.feature with parameters of type FeatureModifierConstructorDescriptionStaticFeatureSet(Feature<?>... features) Creates a feature set which will returnfeatureswhenStaticFeatureSet.get(org.inferred.freebuilder.processor.source.feature.FeatureType<T>)is called for the appropriate type.