I have two versions of a java library, without sources. The api changes significantly between these two versions. The changed methods have no @Deprecated annotations.
Can I add these annotations to the relevant methods and classes in the compiled jar file, to help me see what I need to change in my code, without breaking the build?
I am looking for something easier than decompiling and trying to recompile the whole library. Ideally some way to supply these annotations to intellij or the java compiler without modifying the jar file at all.