TYPE_USE annotations get lost when type is nested, generic interface [duplicate]
问题 This question already has answers here : Why annotation on generic type argument is not visible for nested type? (2 answers) Closed 2 years ago . It appears that TYPE_USE annotations cannot be accessed through reflection when the annotated type is a nested, generic interface. Please observe the following example: import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang