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