The JDT compiler fails when a method implemented from an interface whose
class is tagged with @NonNullByDefault, redefines @NonNull on the
parameter. It seems the interface itself must redundantly define
@NonNull for the condition to get carried over.
Change-Id: I8663c0ba9994466f1cb9f56b1746a59051b4c8ef
package org.eclipse.linuxtools.tmf.core.statesystem;
+import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
* no match.
*/
@Nullable
- ITmfStateSystem getStateSystem(String id);
+ ITmfStateSystem getStateSystem(@NonNull String id);
/**
* FIXME The ID's should be saved in the state system themselves
* @return The corresponding state system
*/
@Nullable
- String getStateSystemId(ITmfStateSystem ss);
+ String getStateSystemId(@NonNull ITmfStateSystem ss);
/**
* Return all the state systems provided by this analysis module, in