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:
Elçim Duran
2022-07-29 16:13:54 +03:00
committed by GitHub
parent d41f65b479
commit 67c9cfec23
6 changed files with 36 additions and 17 deletions
@@ -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));
}
}