Fix some null warnings
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / ITmfEventType.java
index f4096c92943f1a572981b23ac05e8568da414a1d..3292302c03f391b1dd850787b4eba96b4c2c0eee 100644 (file)
@@ -14,6 +14,8 @@ package org.eclipse.tracecompass.tmf.core.event;
 
 import java.util.Collection;
 
+import org.eclipse.jdt.annotation.NonNull;
+
 /**
  * The generic event type in TMF. It contains a reference to the full field structure
  * for that event type.
@@ -35,7 +37,7 @@ public interface ITmfEventType {
     /**
      * The default event type name
      */
-    String DEFAULT_TYPE_ID = "TmfType"; //$NON-NLS-1$
+    @NonNull String DEFAULT_TYPE_ID = "TmfType"; //$NON-NLS-1$
 
     // ------------------------------------------------------------------------
     // Getters
@@ -44,7 +46,7 @@ public interface ITmfEventType {
     /**
      * @return the event type ID
      */
-    String getName();
+    @NonNull String getName();
 
     /**
      * @return the event type root field
This page took 0.033136 seconds and 5 git commands to generate.