Adding value in .class file at the time of build

(Biswas) #1

I am trying to add a property value to a java class, which is present in
In java, the value should be replaced at build time, and in .jar(.class) file the value will come but not in .java file. So that we can change the value directly in and no need to change the code.
Is it possible to achieve?
Thanks in advance!!