@Override
  public PsiImportList getImportList() {
    return withGreenStubOrAst(
      stub -> {
        PsiImportList[] nodes = stub.getChildrenByType(JavaStubElementTypes.IMPORT_LIST, PsiImportList.ARRAY_FACTORY);
        if (nodes.length == 1) return nodes[0];
        assert nodes.length == 0;
        return null;
      },
      ast -> {
        ASTNode node = ast.findChildByType(JavaElementType.IMPORT_LIST);
        return (PsiImportList)SourceTreeToPsiMap.treeElementToPsi(node);
      }
    );
  }
@Override
  public PsiImportList getImportList()