tmf: Null-annotate state system API classes
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.ust.ui / src / org / eclipse / tracecompass / lttng2 / ust / ui / analysis / callstack / LttngUstCallStackAnalysis.java
index 53543d589d1c14666a2067aa253cf68efcde0e22..c675af9cb038c8db10d67bea773c906db7ef98a9 100644 (file)
@@ -12,6 +12,8 @@
 
 package org.eclipse.tracecompass.lttng2.ust.ui.analysis.callstack;
 
+import static org.eclipse.tracecompass.common.core.NonNullUtils.checkNotNull;
+
 import org.eclipse.tracecompass.internal.lttng2.ust.core.trace.callstack.LttngUstCallStackProvider;
 import org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace;
 import org.eclipse.tracecompass.tmf.core.exceptions.TmfAnalysisException;
@@ -43,7 +45,7 @@ public class LttngUstCallStackAnalysis extends AbstractCallStackAnalysis {
 
     @Override
     protected ITmfStateProvider createStateProvider() {
-        return new LttngUstCallStackProvider(getTrace());
+        return new LttngUstCallStackProvider(checkNotNull(getTrace()));
     }
 
 }
This page took 0.023468 seconds and 5 git commands to generate.