EditorConfigDescribableElement (@NotNull final EditorConfigOptionValuePair pair) { final Optional<PsiElement> second = Arrays.stream(pair.getChildren()) .filter(child -> child instanceof EditorConfigDescribableElement) .skip(1) .findFirst(); if (second.isEmpty()) { throw new IllegalStateException(); } return (EditorConfigDescribableElement)second.get(); }