Why doesn’t Java allow method references in annotations?
I've often wanted to point to a specific Java method from an annotation, similar to how Javadoc's {@link} can refer to methods. However, annotation elements are limited to…
I've often wanted to point to a specific Java method from an annotation, similar to how Javadoc's {@link} can refer to methods. However, annotation elements are limited to…