if (ArrayUtils.isEmpty(anno.parameterTypes())) { for (Class<?> paramType : targetMethodParamTypes) { methodPlan.parameterTypes.add(paramType); if (anno.parameterTypes().length != targetMethodParamTypes.length) { InvalidProxyDescriptionException.throwException("The parameter count in the ProxyMethod annotation " + "does not match the actual parameter count for " + method.getName()); for (int i = 0; i < anno.parameterTypes().length; i++) { String typeName = anno.parameterTypes()[i]; if (StringUtils.isEmpty(typeName)) { InvalidProxyDescriptionException.throwException("Invalid parameter type: %s", typeName);