Object function ( T arg0 , Object ... arg1 ) { Method loc0 = getMethod ( arg0 . getClass ( ) ) ; if ( loc0 == null ) { return null ; } try { return loc0 . invoke ( arg0 , arg1 ) ; } catch ( IllegalAccessException loc1 ) { return null ; } }
invokes the method on target with args . if the method does not exist or is not public then null is returned . see also #invokeoptionalwithoutcheckedexception . concode_field_sep Class[] methodParams concode_elem_sep String methodName concode_elem_sep Class<?> returnType concode_field_sep Object invokeWithoutCheckedException concode_elem_sep Object invokeOptionalWithoutCheckedException concode_elem_sep Object invoke concode_elem_sep boolean isSupported concode_elem_sep Method getMethod concode_elem_sep Method getPublicMethod