COLUMN_PROCESS
};
- private final Table<ITmfTrace, Object, List<ILinkEvent>> fLinks = NonNullUtils.checkNotNull(HashBasedTable.create());
+ private final Table<ITmfTrace, Object, List<ILinkEvent>> fLinks = HashBasedTable.create();
/** The trace to entry list hash map */
- private final Table<ITmfTrace, Object, TmfGraphStatistics> fObjectStatistics = NonNullUtils.checkNotNull(HashBasedTable.create());
+ private final Table<ITmfTrace, Object, TmfGraphStatistics> fObjectStatistics = HashBasedTable.create();
private final CriticalPathContentProvider fContentProvider = new CriticalPathContentProvider();
--- /dev/null
+class com/google/common/collect/HashBasedTable
+create
+ <R:Ljava/lang/Object;C:Ljava/lang/Object;V:Ljava/lang/Object;>()Lcom/google/common/collect/HashBasedTable<TR;TC;TV;>;
+ <R:Ljava/lang/Object;C:Ljava/lang/Object;V:Ljava/lang/Object;>()L1com/google/common/collect/HashBasedTable<TR;TC;TV;>;
+create
+ <R:Ljava/lang/Object;C:Ljava/lang/Object;V:Ljava/lang/Object;>(II)Lcom/google/common/collect/HashBasedTable<TR;TC;TV;>;
+ <R:Ljava/lang/Object;C:Ljava/lang/Object;V:Ljava/lang/Object;>(II)L1com/google/common/collect/HashBasedTable<TR;TC;TV;>;
+create
+ <R:Ljava/lang/Object;C:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/google/common/collect/Table<+TR;+TC;+TV;>;)Lcom/google/common/collect/HashBasedTable<TR;TC;TV;>;
+ <R:Ljava/lang/Object;C:Ljava/lang/Object;V:Ljava/lang/Object;>(Lcom/google/common/collect/Table<+TR;+TC;+TV;>;)L1com/google/common/collect/HashBasedTable<TR;TC;TV;>;
*/
public TraceEventHandlerExecutionGraph(LttngKernelExecGraphProvider provider) {
super(provider);
- fKernel = NonNullUtils.checkNotNull(HashBasedTable.create());
+ fKernel = HashBasedTable.create();
fTcpNodes = new HashMap<>();
fMatchProcessing = new IMatchProcessingUnit() {
*/
public class LttngSystemModel {
- private final Table<String, Integer, HostThread> fCurrentTids = NonNullUtils.checkNotNull(HashBasedTable.create());
- private final Table<String, Integer, Stack<LttngInterruptContext>> fIntCtxStacks = NonNullUtils.checkNotNull(HashBasedTable.create());
+ private final Table<String, Integer, HostThread> fCurrentTids = HashBasedTable.create();
+ private final Table<String, Integer, Stack<LttngInterruptContext>> fIntCtxStacks = HashBasedTable.create();
private final Map<HostThread, LttngWorker> fWorkerMap = new HashMap<>();
/**
package org.eclipse.tracecompass.internal.lttng2.kernel.core.analysis.vm.model;
import org.eclipse.jdt.annotation.Nullable;
-import org.eclipse.tracecompass.common.core.NonNullUtils;
import com.google.common.collect.HashBasedTable;
import com.google.common.collect.Table;
*/
public class VirtualCPU {
- private static final Table<VirtualMachine, Long, @Nullable VirtualCPU> VIRTUAL_CPU_TABLE = NonNullUtils.checkNotNull(HashBasedTable.create());
+ private static final Table<VirtualMachine, Long, @Nullable VirtualCPU> VIRTUAL_CPU_TABLE = HashBasedTable.create();
private final VirtualMachine fVm;
private final Long fCpuId;
import org.eclipse.tracecompass.analysis.os.linux.core.kernelanalysis.KernelThreadInformationProvider;
import org.eclipse.tracecompass.analysis.os.linux.core.model.HostThread;
import org.eclipse.tracecompass.analysis.os.linux.core.trace.IKernelAnalysisEventLayout;
-import org.eclipse.tracecompass.common.core.NonNullUtils;
import org.eclipse.tracecompass.internal.lttng2.kernel.core.Activator;
import org.eclipse.tracecompass.internal.lttng2.kernel.core.analysis.vm.VcpuStateValues;
import org.eclipse.tracecompass.internal.lttng2.kernel.core.analysis.vm.VmAttributes;
super(experiment, "Virtual Machine State Provider"); //$NON-NLS-1$
fModel = new QemuKvmVmModel(experiment);
- Table<ITmfTrace, String, @Nullable Integer> table = NonNullUtils.checkNotNull(HashBasedTable.create());
+ Table<ITmfTrace, String, @Nullable Integer> table = HashBasedTable.create();
fEventNames = table;
fLayouts = new HashMap<>();
}