Somehow the @NonNullByDefault did not account for the generic type in <> so
there were still warnings generated for this method.
Change-Id: I3dcce938001311462c8833c3f61b15511b305dc0
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/68012
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-by: Hudson CI
-import org.eclipse.jdt.annotation.NonNullByDefault;
+import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.tracecompass.tmf.core.event.ITmfEventType;
/**
import org.eclipse.tracecompass.tmf.core.event.ITmfEventType;
/**
* @author Geneviève Bastien
* @author Matthew Khouzam
*/
* @author Geneviève Bastien
* @author Matthew Khouzam
*/
public interface ITmfTraceWithPreDefinedEvents {
/**
public interface ITmfTraceWithPreDefinedEvents {
/**
*
* @return The set of events that might be present in the trace
*/
*
* @return The set of events that might be present in the trace
*/
- Set<? extends ITmfEventType> getContainedEventTypes();
+ @NonNull Set<@NonNull ? extends ITmfEventType> getContainedEventTypes();