}
list.add(annotation);
}
// check method overriding
for (Method candidate : table.keySet()) {
if (candidate.getName().equals(method.getName()) && Arrays.deepEquals(candidate.getParameterTypes(), method.getParameterTypes())) {
method = candidate; // detect overriding
break;
}
}