public boolean isConsiderateMethod ( Method method ) { if ( method . isAnnotationPresent ( TransientDataService . class ) || method . isAnnotationPresent ( WsDataService . class ) || method . getDeclaringClass ( ) . isAssignableFrom ( Object . class ) ) { return false ; } int modifiers = method . getModifiers ( ) ; return Modifier . isPublic ( modifiers ) && ! Modifier . isStatic ( modifiers ) ; }
Method is expose to frontend ?