X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=tmf%2Forg.eclipse.tracecompass.tmf.core%2Fsrc%2Forg%2Feclipse%2Ftracecompass%2Ftmf%2Fcore%2Fevent%2FITmfCustomAttributes.java;h=887cce691d68ca9475b4b518dbd8532cc19e0227;hb=4c4e281658452fd4f899727b4267f478201a2654;hp=4be73b00f557bb8fba9473a72ac92c6c573707d2;hpb=94411c58bd735a06ad266cec2e7eaa240e075b59;p=deliverable%2Ftracecompass.git diff --git a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/ITmfCustomAttributes.java b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/ITmfCustomAttributes.java index 4be73b00f5..887cce691d 100644 --- a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/ITmfCustomAttributes.java +++ b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/event/ITmfCustomAttributes.java @@ -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