(String classHashMethodName, String defaultMethodName, Object... args)
| 469 | } |
| 470 | |
| 471 | private void parse(String classHashMethodName, String defaultMethodName, Object... args) throws DDFException { |
| 472 | List<Class<?>> argTypes = Lists.newArrayList(); |
| 473 | |
| 474 | if (args != null && args.length > 0) for (Object arg : args) { |
| 475 | argTypes.add(arg == null ? Object.class : arg.getClass()); |
| 476 | } |
| 477 | |
| 478 | this.parse(classHashMethodName, defaultMethodName, argTypes.toArray(new Class<?>[0])); |
| 479 | } |
| 480 | |
| 481 | private void parse(String classHashMethodName, String defaultMethodName, Class<?>[] argTypes) throws DDFException { |
| 482 | if (Strings.isNullOrEmpty(classHashMethodName)) throw new DDFException("Class#Method name cannot be null"); |
no test coverage detected