tmf: Add a package-info file to the callstack package
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Fri, 2 Sep 2016 13:50:33 +0000 (09:50 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Thu, 8 Sep 2016 16:47:13 +0000 (12:47 -0400)
Change-Id: Ife9bf3bd46401d9d89dd18b44611bba9e39938c9
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/80299
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/CallStackAnalysis.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/CallStackStateProvider.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/Messages.java
tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/package-info.java [new file with mode: 0644]

index 923c4b950afe4d811842e103f4c042e63e19c443..5521298678da430c5802817f3779eb84a9631072 100644 (file)
@@ -8,7 +8,6 @@
  *******************************************************************************/
 package org.eclipse.tracecompass.tmf.core.callstack;
 
-import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.tracecompass.tmf.core.statesystem.TmfStateSystemAnalysisModule;
 
 /**
@@ -18,7 +17,6 @@ import org.eclipse.tracecompass.tmf.core.statesystem.TmfStateSystemAnalysisModul
  * @author Matthew Khouzam
  * @since 2.1
  */
-@NonNullByDefault
 public abstract class CallStackAnalysis extends TmfStateSystemAnalysisModule {
 
     private static final String[] DEFAULT_PROCESSES_PATTERN = new String[] { CallStackStateProvider.PROCESSES, "*" }; //$NON-NLS-1$
index 7159df876d35167379da355ece44bc32ba447bfe..64eedc44add0f33b2a288471f9a86d47a3e546e7 100644 (file)
@@ -14,7 +14,6 @@ package org.eclipse.tracecompass.tmf.core.callstack;
 
 import static org.eclipse.tracecompass.common.core.NonNullUtils.checkNotNull;
 
-import org.eclipse.jdt.annotation.NonNullByDefault;
 import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.osgi.util.NLS;
 import org.eclipse.tracecompass.internal.tmf.core.Activator;
@@ -72,7 +71,6 @@ import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
  *
  * @author Patrick Tasse
  */
-@NonNullByDefault
 public abstract class CallStackStateProvider extends AbstractTmfStateProvider {
 
     /**
index a5f47513673bb295e4804c1b9b1f052c6ac226b5..f0b9f96d8785cb6b31a4d07a13d46971b69aa4f2 100644 (file)
@@ -12,6 +12,7 @@
 
 package org.eclipse.tracecompass.tmf.core.callstack;
 
+import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.osgi.util.NLS;
 
 /**
@@ -25,7 +26,7 @@ public class Messages extends NLS {
      * The value popped from a 'func_exit' event doesn't match the current
      * function name.
      */
-    public static String CallStackStateProvider_UnmatchedPoppedValue;
+    public static @Nullable String CallStackStateProvider_UnmatchedPoppedValue;
 
     static {
         // initialize resource bundle
diff --git a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/package-info.java b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/callstack/package-info.java
new file mode 100644 (file)
index 0000000..0b76246
--- /dev/null
@@ -0,0 +1,11 @@
+/*******************************************************************************
+ * Copyright (c) 2016 École Polytechnique de Montréal
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
+
+@org.eclipse.jdt.annotation.NonNullByDefault
+package org.eclipse.tracecompass.tmf.core.callstack;
This page took 0.035972 seconds and 5 git commands to generate.