public class MandatoryDefaultForPropertiesFacetFactory extends FacetFactoryAbstract
MandatoryFacetDefault onto all properties and
parameters.
The idea is that this FacetFactory is included early on in the
FacetProcessor, but other MandatoryFacet implementations
which don't require mandatory semantics will potentially replace these where
the property or parameter is annotated or otherwise indicated as being
optional.
FacetFactory.AbstractProcessContext<T extends FacetHolder>, FacetFactory.ProcessClassContext, FacetFactory.ProcessContextWithMetadataProperties<T extends FacetHolder>, FacetFactory.ProcessMethodContext, FacetFactory.ProcessParameterContext| Constructor and Description |
|---|
MandatoryDefaultForPropertiesFacetFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(FacetFactory.ProcessMethodContext processMethodContext)
Process the method, and return the correctly setup annotation if present.
|
getFeatureTypes, getSpecificationLoader, process, processParams, setSpecificationLookuppublic MandatoryDefaultForPropertiesFacetFactory()
public void process(FacetFactory.ProcessMethodContext processMethodContext)
FacetFactoryprocess in interface FacetFactoryprocess in class FacetFactoryAbstractCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.