@Override
  public TreeElement addInternal(TreeElement first, ASTNode last, ASTNode anchor, Boolean before) {
    TreeElement firstAdded = super.addInternal(first, last, anchor, before);
    CharTable treeCharTab = SharedImplUtil.findCharTableByTree(this);

    if (first == last && first.getElementType() == JavaElementType.JAVA_CODE_REFERENCE) {
      for (ASTNode child = ((ASTNode)first).getTreeNext(); child != null; child = child.getTreeNext()) {
        if (child.getElementType() == mySeparator) break;
        if (child.getElementType() == JavaElementType.JAVA_CODE_REFERENCE) {
          TreeElement separator = Factory.createSingleLeafElement(mySeparator, mySeparatorText, treeCharTab, getManager());
          super.addInternal(separator, separator, first, Boolean.FALSE);
          break;
        }
      }
      for (ASTNode child = ((ASTNode)first).getTreePrev(); child != null; child = child.getTreePrev()) {
        if (child.getElementType() == mySeparator) break;
        if (child.getElementType() == JavaElementType.JAVA_CODE_REFERENCE) {
          TreeElement separator = Factory.createSingleLeafElement(mySeparator, mySeparatorText, treeCharTab, getManager());
          super.addInternal(separator, separator, child, Boolean.FALSE);
          break;
        }
      }
    }

    if (findChildByType(myKeyword) == null && findChildByType(JavaElementType.JAVA_CODE_REFERENCE) != null) {
      LeafElement keyword = Factory.createSingleLeafElement(myKeyword, myKeywordText, treeCharTab, getManager());
      super.addInternal(keyword, keyword, getFirstChildNode(), Boolean.TRUE);
    }

    return firstAdded;
  }
@Override
  public TreeElement addInternal(TreeElement first, ASTNode last, ASTNode anchor, Boolean before)