import org.apache.isis.core.metamodel.runtimecontext.DependencyInjector;
public class EncodableFacetAnnotation extends EncodableFacetAbstract {
private static String encoderDecoderName(final Class<?> annotatedClass, final IsisConfiguration configuration) {
final Encodable annotation = annotatedClass.getAnnotation(Encodable.class);
final String encoderDecoderName = annotation.encoderDecoderName();
if (!StringUtils.isNullOrEmpty(encoderDecoderName)) {
return encoderDecoderName;
}
return EncoderDecoderUtil.encoderDecoderNameFromConfiguration(annotatedClass, configuration);
}