< prev index next >

src/java.base/share/classes/java/lang/reflect/Method.java

Print this page

        

*** 501,511 **** * <p>If the number of formal parameters required by the underlying method is * 0, the supplied {@code args} array may be of length 0 or null. * * <p>If the underlying method is an instance method, it is invoked * using dynamic method lookup as documented in The Java Language ! * Specification, section 15.12.4.4; in particular, * overriding based on the runtime type of the target object may occur. * * <p>If the underlying method is static, the class that declared * the method is initialized if it has not already been initialized. * --- 501,511 ---- * <p>If the number of formal parameters required by the underlying method is * 0, the supplied {@code args} array may be of length 0 or null. * * <p>If the underlying method is an instance method, it is invoked * using dynamic method lookup as documented in The Java Language ! * Specification, &sect;{@jls 15.12.4.4}; in particular, * overriding based on the runtime type of the target object may occur. * * <p>If the underlying method is static, the class that declared * the method is initialized if it has not already been initialized. *
< prev index next >