tmf: Annotate methods in ITmfEventField
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / event / ITmfEventField.java
index 97435a0d7153cef78f5c9b7bb1b86780e49bf9cb..a6a0571b85dd16d806785ad7277d8e270cbc7234 100644 (file)
@@ -46,7 +46,7 @@ public interface ITmfEventField {
     /**
      * @return the field name
      */
-    String getName();
+    @NonNull String getName();
 
     /**
      * @return the field value
@@ -64,7 +64,7 @@ public interface ITmfEventField {
      *
      * @return The subfield names (empty Collection if none)
      */
-    Collection<String> getFieldNames();
+    @NonNull Collection<String> getFieldNames();
 
     /**
      * Return the subfields. The iteration order is the same as
@@ -72,7 +72,7 @@ public interface ITmfEventField {
      *
      * @return The subfields (empty Collection if none)
      */
-    Collection<? extends ITmfEventField> getFields();
+    @NonNull Collection<? extends ITmfEventField> getFields();
 
     /**
      * Return a subfield by its path relative to this field.
This page took 0.026274 seconds and 5 git commands to generate.