Fix some null warnings
[deliverable/tracecompass.git] / statesystem / org.eclipse.tracecompass.statesystem.core / src / org / eclipse / tracecompass / statesystem / core / ITmfStateSystem.java
index 3f63cb6955deaf2509f7849754467680790bea2b..3236bfc4a88a8bf69307542784619fe7ae1cf79e 100644 (file)
@@ -172,7 +172,7 @@ public interface ITmfStateSystem {
      * @throws AttributeNotFoundException
      *             If the quark was not existing or invalid.
      */
-    @NonNull List<Integer> getSubAttributes(int quark, boolean recursive)
+    @NonNull List<@NonNull Integer> getSubAttributes(int quark, boolean recursive)
             throws AttributeNotFoundException;
 
     /**
@@ -195,7 +195,7 @@ public interface ITmfStateSystem {
      * @throws AttributeNotFoundException
      *             If the 'quark' was not existing or invalid.
      */
-    List<Integer> getSubAttributes(int quark, boolean recursive, String pattern)
+    @NonNull List<@NonNull Integer> getSubAttributes(int quark, boolean recursive, String pattern)
             throws AttributeNotFoundException;
 
     /**
@@ -222,7 +222,7 @@ public interface ITmfStateSystem {
      *         the pattern. If no attribute matched, the list will be empty (but
      *         not null).
      */
-    List<Integer> getQuarks(String... pattern);
+    @NonNull List<@NonNull Integer> getQuarks(String... pattern);
 
     /**
      * Return the name assigned to this quark. This returns only the "basename",
@@ -327,7 +327,7 @@ public interface ITmfStateSystem {
      * @throws StateSystemDisposedException
      *             If the query is sent after the state system has been disposed
      */
-    @NonNull List<ITmfStateInterval> queryFullState(long t)
+    @NonNull List<@NonNull ITmfStateInterval> queryFullState(long t)
             throws StateSystemDisposedException;
 
     /**
This page took 0.026635 seconds and 5 git commands to generate.