I am trying to write something similar to
@Property(name="className",value=MyClazz.class.getName())
class MyClazz{
}
But the compiler complains :
The value for annotation attribute Property.value must be a constant expression
Is there a workaround for this? or should i just hard-code the class name.