So, the problem sounds like this:
I need to get all classes that have a certain annotation in my project. I have managed to do this without any external libraries ( I literally get all .class files in src folder and check is the class has an annotation). It works fine when I run it locally ( run as java application). When I export my project as .jar and try to run the same class, of course it is not working, as my parser cant find any class. Basically, now I'm trying to get all .class files inside the jar file when running the same jar. Is there any method I can do this without adding another library like reflections ?
Thank you