Before annotation = method.getAnnotation(Before.class);
filterMethods.addBeforeMethod(annotation.stages(), method);
}
if (method.isAnnotationPresent(After.class)) {
After annotation = method.getAnnotation(After.class);
filterMethods.addAfterMethod(annotation.stages(), method);
}
}
}
filterMethodsCache.put(beanClass, filterMethods);