How can I get the annotation declared inside a type parameter during the annotation processing?
interface HelloWorld {
void fooBar(List<@NonNull String> params);
}
(Assume @NonNull is a custom annotation declared with
@Retention(RUNTIME)
@Target({TYPE_USE, TYPE_PARAMETER})
How to get the @NonNull from the 'VariableElement' params during the annotation processing?