package org.meridor.perspective.events;
<BUG>import org.meridor.perspective.beans.*;
import java.time.ZonedDateTime;
import java.util.UUID;
public final class EventFactory {</BUG>
public static <T extends InstanceEvent> T instanceEvent(Class<T> eventClass, Instance instance) {

package org.meridor.perspective.events;
import org.meridor.perspective.beans.*;
import org.meridor.perspective.beans.InstanceState;
import java.time.ZonedDateTime;
import java.util.UUID;
import static org.meridor.perspective.beans.InstanceState.*;
public final class EventFactory {
public static <T extends InstanceEvent> T instanceEvent(Class<T> eventClass, Instance instance) {
