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