import org.apache.isis.core.progmodel.facets.object.value.ValueSemanticsProviderUtil;
public class ValueFacetAnnotation extends ValueFacetAbstract {
private static String semanticsProviderName(final Class<?> annotatedClass, final IsisConfiguration configuration) {
final Value annotation = annotatedClass.getAnnotation(Value.class);
final String semanticsProviderName = annotation.semanticsProviderName();
if (!StringUtils.isNullOrEmpty(semanticsProviderName)) {
return semanticsProviderName;
}
return ValueSemanticsProviderUtil.semanticsProviderNameFromConfiguration(annotatedClass, configuration);
}