return scheduledTickHandler.getLabel();
}
public WrappedScheduledTickHandler(IScheduledTickHandler scheduledTickHandler) {
EnumSet<TickType> ticks = scheduledTickHandler.ticks();
ITickHandler tickHandler = scheduledTickHandler;
if (tickHandler instanceof SingleIntervalHandler) {
tickHandler = ReflectUtil.get(scheduledTickHandler, "wrapped");
}
if (ticks == null || ticks.isEmpty()) {
ticks = null;
Log.warning("Null ticks for tick handler " + Log.toString(tickHandler) + ':' + tickHandler.getLabel());
}
this.ticks = ticks;
this.scheduledTickHandler = scheduledTickHandler;
}