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