boolean (CompletionParameters parameters) { PsiElement position = parameters.getPosition(); if (SkipAutopopupInStrings.isInStringLiteral(position)) { return true; } PsiComment comment = PsiTreeUtil.getParentOfType(position, PsiComment.class, false); return comment != null && !(comment instanceof PsiDocComment); }