for (Annotation annotation : method.getAnnotations()) {
// getLog().debug(
// method.getName() + " has annotation " + annotation);
if (annotation instanceof Example) {
Example example = (Example) annotation;
Class clasz = example.clasz();
String methodname = example.method();
if (methodname != null && !methodname.isEmpty()) {
boolean foundMethod = false;
for (Method classMethod : clasz.getMethods()) {
if (classMethod.getName().equals(methodname)) {
foundMethod = true;