Short summary of question Preserving parameter/argument names in compiled java classes
In order to preserve argument names one has to compile the Java source using
javac -g:vars
as compiler options
I do normally compile using Ant javac task. How do I adapt it in order to preserve method argument names?
Current code follows:
<javac includeantruntime="false" srcdir="src" destdir="build/compiled" deprecation="on" target="1.7" source="1.7" debug="true" verbose="false" classpathref="project.classpath" encoding="utf-8" />