Uses of Interface
org.inferred.freebuilder.processor.source.feature.Feature
-
Packages that use Feature Package Description org.inferred.freebuilder.processor.source org.inferred.freebuilder.processor.source.feature -
-
Uses of Feature in org.inferred.freebuilder.processor.source
Methods in org.inferred.freebuilder.processor.source with type parameters of type Feature Modifier and Type Method Description <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 Feature Modifier and Type Method Description static 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 Feature Modifier and Type Interface Description interfaceFeature<T extends Feature<T>>A 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 Feature Modifier and Type Class Description classGuavaLibraryWhether the Guava library is available or not.classJavaxPackageTypes in the javax package, if available.classJsr305Types from JSR 305, if available.classSourceLevelCompliance levels which are idiomatically supported by this processor.Fields in org.inferred.freebuilder.processor.source.feature with type parameters of type Feature Modifier and Type Field Description private java.util.Map<FeatureType<?>,Feature<?>>EnvironmentFeatureSet. featuresByTypeprivate com.google.common.collect.ImmutableMap<java.lang.Class<? extends Feature>,Feature<?>>StaticFeatureSet. featuresByTypeprivate com.google.common.collect.ImmutableMap<java.lang.Class<? extends Feature>,Feature<?>>StaticFeatureSet. featuresByTypeMethods in org.inferred.freebuilder.processor.source.feature with type parameters of type Feature Modifier and Type Method Description <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 Feature Constructor Description StaticFeatureSet(Feature<?>... features)Creates a feature set which will returnfeatureswhenStaticFeatureSet.get(org.inferred.freebuilder.processor.source.feature.FeatureType<T>)is called for the appropriate type.
-