releng: Transition to jdt.annotation 2.0
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / ITmfCustomAttributes.java
index 4be73b00f557bb8fba9473a72ac92c6c573707d2..887cce691d68ca9475b4b518dbd8532cc19e0227 100644 (file)
@@ -14,12 +14,16 @@ package org.eclipse.tracecompass.tmf.core.event;
 
 import java.util.Set;
 
+import org.eclipse.jdt.annotation.NonNullByDefault;
+import org.eclipse.jdt.annotation.Nullable;
+
 /**
  * Interface for events to implement to provide information about custom
  * attributes.
  *
  * @author Simon Delisle
  */
+@NonNullByDefault
 public interface ITmfCustomAttributes {
 
     /**
@@ -38,5 +42,5 @@ public interface ITmfCustomAttributes {
      * @return Value of this attribute, or null if there is no attribute with
      *         that name
      */
-    String getCustomAttribute(String name);
+    @Nullable String getCustomAttribute(String name);
 }
\ No newline at end of file
This page took 0.025425 seconds and 5 git commands to generate.