boolean () { if (myUpdateNotOverridden != null) { return myUpdateNotOverridden; } Class<?> declaringClass = ReflectionUtil.getMethodDeclaringClass(getClass(), "update", AnActionEvent.class); myUpdateNotOverridden = AnAction.class.equals(declaringClass); return myUpdateNotOverridden; }