package org.derive4j.exemple;
import org.derive4j.Data;
<BUG>@Data
public abstract class Event<T> {</BUG>
interface Cases<T, R> {
R itemAdded(String itemName);
R itemRemoved(T ref, String itemName);

package org.derive4j.exemple;
import org.derive4j.Data;
import org.derive4j.Flavour;
@Data(flavour = Flavour.Javaslang)
public abstract class Event<T> {
interface Cases<T, R> {
R itemAdded(String itemName);
R itemRemoved(T ref, String itemName);
