Esempio n. 1
0
 private ClearLayer getControllerClearType(Class<? extends Controller> controllerClass) {
   ClearInterceptor clearInterceptor = controllerClass.getAnnotation(ClearInterceptor.class);
   return clearInterceptor != null ? clearInterceptor.value() : null;
 }
Esempio n. 2
0
 private ClearLayer getMethodClearType(Method method) {
   ClearInterceptor clearInterceptor = method.getAnnotation(ClearInterceptor.class);
   return clearInterceptor != null ? clearInterceptor.value() : null;
 }