facetedMethodsBuilder = null;
setIntrospected(true);
}
private void addNamedFacetAndPluralFacetIfRequired() {
NamedFacet namedFacet = getFacet(NamedFacet.class);
if (namedFacet == null) {
namedFacet = new NamedFacetInferred(NameUtils.naturalName(getShortIdentifier()), this);
addFacet(namedFacet);
}
PluralFacet pluralFacet = getFacet(PluralFacet.class);
if (pluralFacet == null) {
pluralFacet = new PluralFacetInferred(NameUtils.pluralName(namedFacet.value()), this);
addFacet(pluralFacet);
}
}