Map<Method, List<String>> methodParameters = new HashMap<Method, List<String>>();
try {
ClassReader reader = AsmParameterNameLoader.createClassReader(clazz);
AsmParameterNameLoader.AllParameterNamesDiscoveringVisitor visitor = new AsmParameterNameLoader.AllParameterNamesDiscoveringVisitor(clazz, methodName);
reader.accept(visitor, 0);
Map exceptions = visitor.getExceptions();
if (exceptions.size() == 1) {
throw new RuntimeException((Exception) exceptions.values().iterator().next());
}