private void checkCallbackMethods ( ) throws CoreException { for ( final EnumEventType eet : getAnnotationValue ( ) ) { final String methodName = buildHandlingMethodName ( eet ) ; final Class < ? > eventClass = getAnnotationApiEventClass ( ) ; try { this . callbackObject . getClass ( ) . getDeclaredMethod ( methodName , eventClass ) ; } catch ( NoSuchMethodException | SecurityException e ) { throw new CoreException ( NO_EVENT_CALLBACK . getText ( this . callbackObject . getClass ( ) . getName ( ) , methodName , eventClass . getName ( ) ) , e ) ; } } }
For each annotation event type check if the callback method exists .