public boolean check ( ) { if ( ! method . getReturnType ( ) . equals ( Void . TYPE ) ) { WebSocketRouter . getLogger ( ) . error ( "The method {} annotated with a web socket callback is not well-formed. " + "These methods receive only parameter annotated with @Parameter and do not return anything" , method . getName ( ) ) ; return false ; } List < ActionParameter > localArguments = buildArguments ( method ) ; if ( localArguments == null ) { return false ; } else { this . arguments = localArguments ; return true ; } }
Checks that the callback is well - formed .