Bael-5645 - Scanning Java Annotations at Runtime (#12527)
* BAEL-5645 - Annotation scanners using Spring context, Spring core, reflections, java reflection, and Jandex libraries are implemented * BAEL-5645 - Library versions are incremented in pom.xml * BAEL-5645 - Some refactoring and indentation adjustments * BAEL-5645 - Revert of annotation value in unit test * BAEL-5645 - Merge with the latest remote version (after resolution of the conflicts) * BAEL-5645 - Some refactoring due to review comments Co-authored-by: elcimduran <elcim.duran@kboxglobal.com>
This commit is contained in:
+4
-3
@@ -28,7 +28,8 @@ public class SampleAnnotationScannerUnitTest {
|
||||
|
||||
assertNotNull(annotatedClasses);
|
||||
assertEquals(4, annotatedClasses.size());
|
||||
annotatedClasses.forEach(annotValue -> assertEquals("SampleAnnotatedClass", annotValue));
|
||||
annotatedClasses.forEach(annotValue -> assertEquals("SampleAnnotatedClass",
|
||||
annotValue));
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -41,7 +42,7 @@ public class SampleAnnotationScannerUnitTest {
|
||||
|
||||
assertNotNull(annotatedMethods);
|
||||
assertEquals(3, annotatedMethods.size());
|
||||
annotatedMethods.forEach(annotValue -> assertEquals("annotatedMethod", annotValue));
|
||||
annotatedMethods.forEach(annotValue -> assertEquals("annotatedMethod",
|
||||
annotValue));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user