void (@NotNull final CompletionParameters parameters, @NotNull final CompletionResultSet result) { //if (parameters.getCompletionType() != CompletionType.SMART) return; PsiElement pos = parameters.getPosition(); if (JavaKeywordCompletion.AFTER_DOT.accepts(pos)) { return; } MagicConstantUtils.AllowedValues allowedValues = getAllowedValues(pos); if (allowedValues == null) return; addCompletionVariants(parameters, result, pos, allowedValues); }