}
return 0;
}
private static Param[] getParameters(final Method method) {
final Paranamer paranamer = new CachingParanamer(new BytecodeReadingParanamer());
final String[] paramNames = paranamer.lookupParameterNames(method, false);
final Type[] types = method.getGenericParameterTypes();
final Param[] params = new Param[types.length];
for (int i = 0; i < types.length; i++) {
params[i] = new Param(paramNames[i], types[i]);