boolean (@NotNull PsiClass targetClass) { if (!PsiUtil.isLanguageLevel8OrHigher(targetClass)){ return false; } String commandName = CommandProcessor.getInstance().getCurrentCommandName(); return commandName != null && StringUtil.containsIgnoreCase(commandName, IMPLEMENT_COMMAND_MARKER); }