private void buildAnnotatedInitBehaviour ( ) { Method [ ] methods = this . getClass ( ) . getMethods ( ) ; for ( Method method : methods ) { if ( method . isAnnotationPresent ( FbBotMillInit . class ) ) { try { method . invoke ( this ) ; } catch ( Exception e ) { logger . error ( e . getMessage ( ) ) ; } } } }
Builds the annotated init behaviour .