I have this annotated class in one of my projects.
The annotation class is defined by me.
Question: can I instead of the String "TP_REPORT"
use some property
whose value is not known at compile time but only at runtime?
@PhoenixTable(tableName="TP_REPORT")
public class TPData {
...
}
Just as a reference, here is the definition of my annotation type.
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface PhoenixTable {
public String tableName();
}