I am using annotation in my java program something like this.
@annotation("some string")
public void fun(){
...
}
Is there any way that i could pass variable instead of "some string" to annotation.
e.g
String s="some string"
@annotation(s)
public void fun(){
...
}