Passing dynamic parameters to an annotation?
No. The annotation processor (the annotation-based framework you’re using) needs to implement an approach to handling placeholders. As an example, a similar technique is implemented in Spring @Value(“#{systemProperties.dbName}”) Here Spring implements an approach to parsing that particular syntax, which in this case translates to something similar to System.getProperty(“dbName”);