@Test public void resourceBundleName() { String result = annotationExtractor.getBaseName(); assertEquals("fruits", result); }
public String getBaseName() { BaseName rbnAnnotation = enumClass.getAnnotation(BaseName.class); if (rbnAnnotation == null) { return null; } return rbnAnnotation.value(); }
AnnotationExtractorViaEnumClass extends AbstractAnnotationExtractor { public String getBaseName() { BaseName rbnAnnotation = enumClass.getAnnotation(BaseName.class); if (rbnAnnotation == null) { return null; } return rbnAnnotation.value(); } }
AnnotationExtractorViaEnumClass extends AbstractAnnotationExtractor { public String getBaseName() { BaseName rbnAnnotation = enumClass.getAnnotation(BaseName.class); if (rbnAnnotation == null) { return null; } return rbnAnnotation.value(); } AnnotationExtractorViaEnumClass(Class<?> enumClass); }
AnnotationExtractorViaEnumClass extends AbstractAnnotationExtractor { public String getBaseName() { BaseName rbnAnnotation = enumClass.getAnnotation(BaseName.class); if (rbnAnnotation == null) { return null; } return rbnAnnotation.value(); } AnnotationExtractorViaEnumClass(Class<?> enumClass); String getBaseName(); }
AnnotationExtractorViaEnumClass extends AbstractAnnotationExtractor { public String getBaseName() { BaseName rbnAnnotation = enumClass.getAnnotation(BaseName.class); if (rbnAnnotation == null) { return null; } return rbnAnnotation.value(); } AnnotationExtractorViaEnumClass(Class<?> enumClass); String getBaseName();  }