I come up with a idea that passing a String
literal to annotation. Is it possible in Java 8/9? If not, in what circumstances could it be needed? How can it be applied otherwise?
For example:
final String test = "literal";
@Component(test)
// .
// .