if (customMethod == null) {
throw new WaveException(wave);
}
// Grab the run type annotation (if exists)
final RunInto runInto = customMethod.getAnnotation(RunInto.class);
// Retrieve the annotation runnable priority (if any)
final RunnablePriority priority = runInto == null ? RunnablePriority.Normal : runInto.priority();
// Retrieve the annotation run type (if any)
final RunType runType = runInto == null ? null : runInto.value();
final JRebirthRunnable waveHandlerRunnable = buildWaveRunnable(wave, customMethod, priority);
// If the notified class is part of the UI
// We must perform this action into the JavaFX Application Thread