Closed koppor closed 2 months ago
https://github.com/adr/e-adr/pull/8 switched to SOURCE retentation. However, this prevents reflections on the class. See https://github.com/adr/e-adr/blob/main/io.github.adr.embedded.demo/src/main/java/io/github/adr/embedded/demo/YStatementAnnotationDemoClassReflection.java for an example
SOURCE
RUNTIME
CLASS
Fixed in main
main
https://github.com/adr/e-adr/pull/8 switched to
SOURCE
retentation. However, this prevents reflections on the class. See https://github.com/adr/e-adr/blob/main/io.github.adr.embedded.demo/src/main/java/io/github/adr/embedded/demo/YStatementAnnotationDemoClassReflection.java for an exampleRUNTIME
. OnlyCLASS
won't work, because reflection would not work: https://stackoverflow.com/a/30033058/873282