Fix latest batch of null warnings
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / event / types / StructDefinition.java
index c614d00e4ecc123def5d8a5d1d889091d6cbcfad..48e85e6eb0e78512079add30f914ee6d41a0a424 100644 (file)
@@ -46,7 +46,7 @@ public final class StructDefinition extends ScopedDefinition implements IComposi
     // Attributes
     // ------------------------------------------------------------------------
 
-    private final @NonNull List<String> fFieldNames;
+    private final @NonNull List<@NonNull String> fFieldNames;
     private final Definition[] fDefinitions;
     private Map<String, Definition> fDefinitionsMap = null;
 
@@ -98,8 +98,11 @@ public final class StructDefinition extends ScopedDefinition implements IComposi
      * @since 1.0
      */
     public StructDefinition(@NonNull StructDeclaration declaration,
-            IDefinitionScope definitionScope, @NonNull ILexicalScope scope,
-            @NonNull String structFieldName, @NonNull Iterable<String> fieldNames, Definition[] definitions) {
+            IDefinitionScope definitionScope,
+            @NonNull ILexicalScope scope,
+            @NonNull String structFieldName,
+            @NonNull Iterable<@NonNull String> fieldNames,
+            Definition[] definitions) {
         super(declaration, definitionScope, structFieldName, scope);
         fFieldNames = ImmutableList.copyOf(fieldNames);
         fDefinitions = definitions;
@@ -128,7 +131,7 @@ public final class StructDefinition extends ScopedDefinition implements IComposi
     }
 
     @Override
-    public @NonNull List<String> getFieldNames() {
+    public @NonNull List<@NonNull String> getFieldNames() {
         return fFieldNames;
     }
 
This page took 0.024493 seconds and 5 git commands to generate.