TMF: Add some non null annotations to TmfTimeRange
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / trace / ITmfTrace.java
index f8e3efceac415e70e6dcead9059696ebacd3a55f..7d2d768f691e4a3b6d946f24aff226c0ffb4be35 100644 (file)
@@ -286,17 +286,17 @@ public interface ITmfTrace extends ITmfEventProvider {
     /**
      * @return the trace time range
      */
-    TmfTimeRange getTimeRange();
+    @NonNull TmfTimeRange getTimeRange();
 
     /**
      * @return the timestamp of the first trace event
      */
-    ITmfTimestamp getStartTime();
+    @NonNull ITmfTimestamp getStartTime();
 
     /**
      * @return the timestamp of the last trace event
      */
-    ITmfTimestamp getEndTime();
+    @NonNull ITmfTimestamp getEndTime();
 
     /**
      * @return the streaming interval in ms (0 if not a streaming trace)
@@ -431,6 +431,6 @@ public interface ITmfTrace extends ITmfEventProvider {
      *            The time in nanoseconds with which to create the timestamp
      * @return The new timestamp
      */
-    ITmfTimestamp createTimestamp(long ts);
+    @NonNull ITmfTimestamp createTimestamp(long ts);
 
 }
This page took 0.02489 seconds and 5 git commands to generate.