@Override
  public @NotNull String getDocCommentText() {
    final Property firstProp = PsiTreeUtil.getChildOfType(this, Property.class);

    // If there are no properties in the property file,
    // then the whole content of the file is considered to be a doc comment
    if (firstProp == null) return getText();

    final PsiElement upperEdge = PropertyImpl.getEdgeOfProperty(firstProp);

    final List<PsiElement> comments = PsiTreeUtil.getChildrenOfTypeAsList(this, PsiElement.class);

    return comments.stream()
      .takeWhile(Predicate.not(upperEdge::equals))
      .map(PsiElement::getText)
      .collect(Collectors.joining());
  }
@Override
  public @NotNull String getDocCommentText()