Replies: 1 comment
-
I figured it out: class my/package/B
super my/package/A
<Ljava/lang/String;>
<L1java/lang/String;> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given two classes:
How can I apply a NonNull annotation to
<String>
using an external null annotation file, so that class B is treated like:I know for generic classes the syntax looks like this:
but B is not a generic class.
Unfortunately the documentation regarding the exact syntax of EEA files is generally very sparse at https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-using_external_null_annotations.htm
@stephan-herrmann
Beta Was this translation helpful? Give feedback.
All reactions