Lines Matching defs:methodName
72 private final String methodName;
81 * The {@code target} and the {@code methodName} values should not be {@code null}.
88 * @param methodName the name of the method to invoke on the specified target
91 @ConstructorProperties({"target", "methodName", "arguments"})
92 public Statement(Object target, String methodName, Object[] arguments) {
94 this.methodName = methodName;
119 return methodName;
136 * as the {@code methodName} property, and invokes the method on
164 * {@code methodName} property is {@code null}
198 String methodName = getMethodName();
200 if (target == null || methodName == null) {
202 "methodName") + " should not be null");
212 if (target == Class.class && methodName.equals("forName")) {
232 if (methodName.equals("new")) {
233 methodName = "newInstance";
236 if (methodName.equals("newInstance") && ((Class)target).isArray()) {
243 if (methodName.equals("newInstance") && arguments.length != 0) {
261 m = getMethod((Class)target, methodName, argClasses);
264 m = getMethod(Class.class, methodName, argClasses);
277 (methodName.equals("set") || methodName.equals("get"))) {
279 if (methodName.equals("get")) {
287 m = getMethod(target.getClass(), methodName, argClasses);
300 methodName + " on " + target.getClass(),
338 String methodName = getMethodName();
343 StringBuffer result = new StringBuffer(instanceName(target) + "." + methodName + "(");