ctf: annotate StructDeclaration#addField to @NonNull
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / types / StructDeclaration.java
index 83fb2e2198dc0515334da7399e43cf2661de2683..be18d3837c9caede6e85209cc115d97f224f6061 100644 (file)
@@ -184,7 +184,7 @@ public class StructDeclaration extends Declaration {
      * @param declaration
      *            the declaration of the field
      */
-    public void addField(@NonNull String name, IDeclaration declaration) {
+    public void addField(@NonNull String name, @NonNull IDeclaration declaration) {
         fFieldMap.put(name, declaration);
         fMaxAlign = Math.max(fMaxAlign, declaration.getAlignment());
     }
This page took 0.024257 seconds and 5 git commands to generate.