final int paramCount = method.getParameterTypes().length; if ("toString".equals(methodName) && paramCount == 0) { return MessageFormat.format("SwitchYard proxy for {0} [{1}]", _invokerInterface.getJavaInterface(), _invokerInterface); } else if ("equals".equals(methodName) && paramCount == 1) { return this.equals(args[0]);
final int paramCount = method.getParameterTypes().length; if ("toString".equals(methodName) && paramCount == 0) { return MessageFormat.format("SwitchYard proxy for {0} [{1}]", _invokerInterface.getJavaInterface(), _invokerInterface); } else if ("equals".equals(methodName) && paramCount == 1) { return this.equals(args[0]);