Add new @since 1.0 annotations
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 2 Mar 2015 21:41:33 +0000 (16:41 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 4 Mar 2015 19:42:49 +0000 (14:42 -0500)
The API tool is a bit peculiar as to when it decides to run...
It's possible that some more annotations are needed.

Change-Id: If49b70cf359055f5531533b3f167981a0b15dffe
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/43119
Reviewed-by: Hudson CI
27 files changed:
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/event/aspect/LinuxTidAspect.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/event/aspect/Messages.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/kernelanalysis/Attributes.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/kernelanalysis/KernelThreadInformationProvider.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/kernelanalysis/KernelTidAspect.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/model/HostThread.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/trace/DefaultEventLayout.java
org.eclipse.tracecompass.analysis.os.linux.core/src/org/eclipse/tracecompass/analysis/os/linux/core/trace/IKernelAnalysisEventLayout.java
org.eclipse.tracecompass.btf.core/src/org/eclipse/tracecompass/btf/core/trace/BtfTimestampFormat.java
org.eclipse.tracecompass.common.core/src/org/eclipse/tracecompass/common/core/NonNullUtils.java
org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/CTFReaderException.java
org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/event/matching/TcpEventMatching.java
org.eclipse.tracecompass.lttng2.kernel.core/src/org/eclipse/tracecompass/internal/lttng2/kernel/core/event/matching/TcpLttngEventMatching.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/StateSystemFactory.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/IStateHistoryBackend.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/InMemoryBackend.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/NullBackend.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/historytree/HistoryTreeBackend.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/statesystem/core/backend/historytree/ThreadedHistoryTreeBackend.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/analysis/TmfAnalysisManager.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/aspect/TmfContentFieldAspect.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/matching/ITmfMatchEventDefinition.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/matching/Messages.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/matching/TmfEventMatching.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/text/TextTraceEventContent.java
org.eclipse.tracecompass.tmf.ctf.core/src/org/eclipse/tracecompass/tmf/ctf/core/trace/CtfTmfTrace.java
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/model/TmfAnalysisElement.java

index 11d15e9d385284dc4920689cd3829c255080b316..4f8fbfd3d02bba70af8b957dacff4ed96a82781e 100644 (file)
@@ -21,6 +21,7 @@ import org.eclipse.tracecompass.tmf.core.event.aspect.ITmfEventAspect;
  * occurred.
  *
  * @author Geneviève Bastien
+ * @since 1.0
  */
 public abstract class LinuxTidAspect implements ITmfEventAspect {
 
index be28a052feef056d72f4d506554c99d2c70dfa7e..49a9b1101e4d9ffecf2ba5e7b87ba653e299ee1c 100644 (file)
@@ -15,6 +15,9 @@ package org.eclipse.tracecompass.analysis.os.linux.core.event.aspect;
 import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.osgi.util.NLS;
 
+/**
+ * @since 1.0
+ */
 @SuppressWarnings("javadoc")
 public class Messages extends NLS {
 
index e5742665b82aa8152dc684a31759bc5184a47c7c..1d8181381e8f249426d56800fbc9440327009066 100644 (file)
@@ -40,6 +40,8 @@ public interface Attributes {
     static final String PPID = "PPID";
     //static final String STATUS = "Status"
     static final String EXEC_NAME = "Exec_name";
+
+    /** @since 1.0 */
     static final String PRIO = "Prio";
     static final String SYSTEM_CALL = "System_call";
 
index 6b659357244988b06d2eedf04a69ebc6e9194d3b..461481f73cff3e88ddbfb95a3fe53e401536659b 100644 (file)
@@ -196,6 +196,7 @@ public final class KernelThreadInformationProvider {
      * @param ts
      *            The timestamp at which to get the priority
      * @return The priority of this thread, or {@code null} if not found
+     * @since 1.0
      */
     public static @Nullable Integer getThreadPrio(KernelAnalysis module, Integer threadId, long ts) {
         Integer execPrio = null;
index e2002581739fbe5bccabf7d48ff1d5c38f1fd5d0..72d8bfe4e097ef0d33e8d33a24bf09925572c902 100644 (file)
@@ -23,6 +23,7 @@ import org.eclipse.tracecompass.tmf.core.trace.TmfTraceUtils;
  * {@link KernelAnalysis}.
  *
  * @author Geneviève Bastien
+ * @since 1.0
  */
 public final class KernelTidAspect extends LinuxTidAspect {
 
index e8a9a4f66201794a9346f1197e4aa75c5a3a5b34..5dbb56df7baa812197f6ada24e9e19903ee5c95e 100644 (file)
@@ -24,6 +24,7 @@ import com.google.common.hash.Hashing;
  * threads by adding the host ID it belongs to.
  *
  * @author Geneviève Bastien
+ * @since 1.0
  */
 public class HostThread {
 
index 296e28d01e5826ab7f3ad6b37b6ccbee25921c27..00d755308084e7998bc721591c8a2bc8e41ed27b 100644 (file)
@@ -28,6 +28,7 @@ import com.google.common.collect.ImmutableList;
  * Due to historical reasons, the definitions are the same as LTTng event names.
  *
  * @author Alexandre Montplaisir
+ * @since 1.0
  */
 public class DefaultEventLayout implements IKernelAnalysisEventLayout{
 
@@ -113,6 +114,9 @@ public class DefaultEventLayout implements IKernelAnalysisEventLayout{
         return SCHED_SWITCH;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String eventSchedPiSetprio() {
         return SCHED_PI_SETPRIO;
@@ -212,16 +216,25 @@ public class DefaultEventLayout implements IKernelAnalysisEventLayout{
         return CHILD_TID;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String fieldPrio() {
         return PRIO;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String fieldNewPrio() {
         return NEW_PRIO;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String fieldNextPrio() {
         return NEXT_PRIO;
index f7fe4084d5159db461d5779ed449119129eca7ff..43108927d02159e6a3bb8b1320522719ccbc0eb8 100644 (file)
@@ -52,7 +52,10 @@ public interface IKernelAnalysisEventLayout {
     String eventSoftIrqExit();
     String eventSoftIrqRaise();
     String eventSchedSwitch();
+
+    /** @since 1.0 */
     String eventSchedPiSetprio();
+
     Collection<String> eventsSchedWakeup();
     String eventSchedProcessFork();
     String eventSchedProcessExit();
@@ -76,7 +79,13 @@ public interface IKernelAnalysisEventLayout {
     String fieldChildComm();
     String fieldParentTid();
     String fieldChildTid();
+
+    /** @since 1.0 */
     String fieldPrio();
+
+    /** @since 1.0 */
     String fieldNewPrio();
+
+    /** @since 1.0 */
     String fieldNextPrio();
 }
index 42cd8c00067fde1b4b92fd5ded26d25aa656a970..8953f62be0f9a158994dee088326859323ec8135 100644 (file)
@@ -20,6 +20,7 @@ import org.eclipse.tracecompass.tmf.core.timestamp.TmfTimestamp;
  * Timstamp format of BTF timescale as per v2.1 of the spec
  *
  * @author Matthew Khouzam
+ * @since 1.0
  */
 public enum BtfTimestampFormat {
     /**
index 369459e24c803ff896f7d4f2ae777579230f3f8b..a1141e3f2d6ab03c3862adce399ab6ac3840acca 100644 (file)
@@ -71,6 +71,7 @@ public final class NonNullUtils {
      * @param o2
      *            the second object to compare
      * @return true if o1.equals(o2) or o1 == o2
+     * @since 1.0
      */
     public static boolean equalsNullable(final @Nullable Object o1, final @Nullable Object o2) {
         if (o1 == o2) {
index 3fbf20a2ec359497909e7161a9780d27dd69a58b..94050d752177320a6cc7b059db3c2de6cf520c85 100644 (file)
@@ -17,6 +17,7 @@ package org.eclipse.tracecompass.ctf.core;
  * CTF trace reader.
  *
  * @author Alexandre Montplaisir
+ * @since 1.0
  */
 public class CTFReaderException extends Exception {
 
index b54ca79672275244f9c4aa2285041cfa27adefdc..208fc898dbd8d63915890ab3eaa1b392d68d739f 100644 (file)
@@ -54,6 +54,9 @@ public class TcpEventMatching implements ITmfMatchEventDefinition {
         return false;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public Direction getDirection(ITmfEvent event) {
         String evname = event.getType().getName();
index 37db0e8473b2a16f760ad841c3b8b9b072ad03eb..461c5d6a00a486029c5718ff09302641c398acd4 100644 (file)
@@ -73,6 +73,9 @@ public class TcpLttngEventMatching implements ITmfMatchEventDefinition {
         return !traceEvents.isEmpty();
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public Direction getDirection(ITmfEvent event) {
         String evname = event.getType().getName();
index 84aa6e8e95d91892f067a7acad9d93d235677f8f..da8aa16ebeb7b728726e3d73679dfac47e4187b6 100644 (file)
@@ -39,6 +39,7 @@ public final class StateSystemFactory {
      * @param backend
      *            Back-end plugin to use
      * @return The new state system
+     * @since 1.0
      */
    public static ITmfStateSystemBuilder newStateSystem(IStateHistoryBackend backend) {
        return new StateSystem(backend);
@@ -56,6 +57,7 @@ public final class StateSystemFactory {
      * @return The new state system
      * @throws IOException
      *             If there was a problem creating the new history file
+     * @since 1.0
      */
     public static ITmfStateSystemBuilder newStateSystem(IStateHistoryBackend backend,
             boolean newFile) throws IOException {
index 9acf2f521feed23e4e9eb6b3a3a5b3f590ca0951..d3cd7828c0496b99fe87fdae04abf4130dac5db1 100644 (file)
@@ -43,6 +43,7 @@ public interface IStateHistoryBackend {
      * Get the ID of the state system that populates this backend.
      *
      * @return The state system's ID.
+     * @since 1.0
      */
     @NonNull String getSSID();
 
index 6f43f4958f67d4117f46ea11ecdc8569f80f486b..ed595c30712682376603141f246701ab0899487f 100644 (file)
@@ -84,6 +84,7 @@ public class InMemoryBackend implements IStateHistoryBackend {
      *            The state system's ID
      * @param startTime
      *            The start time of this interval store
+     * @since 1.0
      */
     public InMemoryBackend(@NonNull String ssid, long startTime) {
         this.ssid = ssid;
@@ -92,6 +93,9 @@ public class InMemoryBackend implements IStateHistoryBackend {
         this.intervals = new TreeSet<>(END_COMPARATOR);
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String getSSID() {
         return ssid;
index bfa5332ced8fa140ba7d02bcd20716a445c0ced9..dad1ad0f5154cc4516694ea7b731fe5f49953792 100644 (file)
@@ -38,11 +38,15 @@ public class NullBackend implements IStateHistoryBackend {
      *
      * @param ssid
      *            The state system's id
+     * @since 1.0
      */
     public NullBackend(@NonNull String ssid) {
         this.ssid = ssid;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String getSSID() {
         return ssid;
index e9dce3e07e4f9ad31157a404ad2577ff85885e7a..9fdab2c8ca31b107df8acd4bba245c1c17987fc1 100644 (file)
@@ -54,6 +54,7 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
      * Indicates if the history tree construction is done
      *
      * @return if the history tree construction is done
+     * @since 1.0
      */
     protected boolean isFinishedBuilding() {
         return fFinishedBuilding;
@@ -64,6 +65,7 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
      *
      * @param isFinishedBuilding
      *            is the history tree finished building
+     * @since 1.0
      */
     protected void setFinishedBuilding(boolean isFinishedBuilding) {
         this.fFinishedBuilding = isFinishedBuilding;
@@ -91,6 +93,7 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
      *            The earliest time stamp that will be stored in the history
      * @throws IOException
      *             Thrown if we can't create the file for some reason
+     * @since 1.0
      */
     public HistoryTreeBackend(@NonNull String ssid, File newStateFile, int blockSize,
             int maxChildren, int providerVersion, long startTime) throws IOException {
@@ -118,6 +121,7 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
      *            The earliest time stamp that will be stored in the history
      * @throws IOException
      *             Thrown if we can't create the file for some reason
+     * @since 1.0
      */
     public HistoryTreeBackend(@NonNull String ssid, File newStateFile, int providerVersion, long startTime)
             throws IOException {
@@ -137,6 +141,7 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
      *             If we can't read the file, if it doesn't exist, is not
      *             recognized, or if the version of the file does not match the
      *             expected providerVersion.
+     * @since 1.0
      */
     public HistoryTreeBackend(@NonNull String ssid, File existingStateFile, int providerVersion)
             throws IOException {
@@ -154,6 +159,9 @@ public class HistoryTreeBackend implements IStateHistoryBackend {
         return sht;
     }
 
+    /**
+     * @since 1.0
+     */
     @Override
     public String getSSID() {
         return ssid;
index ac19399e23f2c5e29f4e98d53e62bc511470beef..39b79c7752c904fac3012c660154a19aebc1a484 100644 (file)
@@ -67,6 +67,7 @@ public final class ThreadedHistoryTreeBackend extends HistoryTreeBackend
      *            works well
      * @throws IOException
      *             If there was a problem opening the history file for writing
+     * @since 1.0
      */
     public ThreadedHistoryTreeBackend(@NonNull String ssid, File newStateFile, int blockSize,
             int maxChildren, long startTime, int providerVersion, int queueSize)
@@ -98,6 +99,7 @@ public final class ThreadedHistoryTreeBackend extends HistoryTreeBackend
      *            works well
      * @throws IOException
      *             If there was a problem opening the history file for writing
+     * @since 1.0
      */
     public ThreadedHistoryTreeBackend(@NonNull String ssid, File newStateFile, long startTime,
             int providerVersion, int queueSize) throws IOException {
index 42972d92f9cf729805913b67781d13cd8ff95f61..7406aa058712b8789095784e92e42cb089885438 100644 (file)
@@ -108,6 +108,7 @@ public class TmfAnalysisManager {
      * This map is read-only
      *
      * @return The map of available {@link IAnalysisModuleHelper}
+     * @since 1.0
      */
     public static synchronized Multimap<String, IAnalysisModuleHelper> getAnalysisModules() {
         if (fAnalysisModules.isEmpty()) {
index 65fdc05dbc513ab4aa97395c56051aab373ef5ce..991112c308cccfd6f8b3cd14708c61bd015dd7a2 100644 (file)
@@ -63,6 +63,7 @@ public class TmfContentFieldAspect implements ITmfEventAspect {
      *            The field name or absolute field path array to look for in the
      *            event content. Should *not* be localized!
      * @return the new aspect
+     * @since 1.0
      */
     public static TmfContentFieldAspect create(String aspectName, String helpText, String... fieldPath) {
         return new TmfContentFieldAspect(aspectName, helpText, fieldPath);
index 8a11b0864fb395656c5d747161fd5b73050a21c8..020bae1eb7d9100bedd48a55e7871131a1d0386c 100644 (file)
@@ -51,6 +51,7 @@ public interface ITmfMatchEventDefinition {
      * @param event
      *            The event to check
      * @return The direction of this event, null if uninteresting event
+     * @since 1.0
      */
     Direction getDirection(ITmfEvent event);
 
index 4af37371ef2674f2f44ad9780f5db0726b97d030..ed493cf82e617c48a644f5945a1d69545669e4f1 100644 (file)
@@ -18,6 +18,7 @@ import org.eclipse.osgi.util.NLS;
  * Externalized strings for this plugin
  *
  * @author Geneviève Bastien
+ * @since 1.0
  */
 @SuppressWarnings("javadoc")
 public class Messages extends NLS {
index 085c06332a728ac5d5a6f0edecef273816d7829d..094c7477f5d844d23df650be5720dc0f9c88d868 100644 (file)
@@ -71,6 +71,7 @@ public class TmfEventMatching implements ITmfEventMatching {
 
     /**
      * Enum for cause and effect types of event
+     * @since 1.0
      */
     public enum Direction {
         /**
@@ -88,6 +89,7 @@ public class TmfEventMatching implements ITmfEventMatching {
      *
      * @param traces
      *            The set of traces for which to match events
+     * @since 1.0
      */
     public TmfEventMatching(Collection<ITmfTrace> traces) {
         this(traces, new TmfEventMatches());
@@ -212,6 +214,7 @@ public class TmfEventMatching implements ITmfEventMatching {
      *            The trace to which this event belongs
      * @param monitor
      *            The monitor for the synchronization job
+     * @since 1.0
      */
     protected void matchEvent(ITmfEvent event, ITmfTrace trace, @NonNull IProgressMonitor monitor) {
         ITmfMatchEventDefinition def = null;
index e9e5635c383ad15c0bbec8fbd65a07ffb48407b4..aab941d4fe9e280e444036ffef1b327f48fa8fff 100644 (file)
@@ -64,6 +64,7 @@ public class TextTraceEventContent implements ITmfEventField {
      *
      * @param initialCapacity
      *            the initial capacity of the field list
+     * @since 1.0
      */
     public TextTraceEventContent(int initialCapacity) {
         fName = ITmfEventField.ROOT_FIELD_ID;
@@ -254,6 +255,7 @@ public class TextTraceEventContent implements ITmfEventField {
      *            a subfield name
      * @param value
      *            the subfield value
+     * @since 1.0
      */
     public void addField(@NonNull String name, Object value) {
         TextTraceEventContent field = new TextTraceEventContent(name);
index 0bf3bae88609ebdc3f258bbfb7782f1899a033ea..9c3b895572f2b044dedddcff47929a1349cb457a 100644 (file)
@@ -95,6 +95,7 @@ public class CtfTmfTrace extends TmfTrace
 
     /**
      * Event aspects available for all CTF traces
+     * @since 1.0
      */
     protected static final @NonNull Collection<ITmfEventAspect> CTF_ASPECTS =
             checkNotNull(ImmutableList.of(
index ff10531e18985e57b23f57c8b3f1e3686bfba0ae..485196d80a5f59a5130d0167479147d416497c1f 100644 (file)
@@ -59,6 +59,7 @@ public class TmfAnalysisElement extends TmfProjectModelElement implements ITmfSt
      *            Parent of the analysis
      * @param module
      *            The analysis module helper
+     * @since 1.0
      */
     protected TmfAnalysisElement(String name, IResource resource, ITmfProjectModelElement parent, @NonNull IAnalysisModuleHelper module) {
         super(name, resource, parent);
This page took 0.037206 seconds and 5 git commands to generate.