private static boolean isImportStatementBase(@Nullable PsiElement psiElement){
    ASTNode node = BasicJavaAstTreeUtil.toNode(psiElement);
    return
      BasicJavaAstTreeUtil.is(node, BASIC_IMPORT_STATEMENT) ||
      BasicJavaAstTreeUtil.is(node, BASIC_IMPORT_STATIC_STATEMENT);
  }
private static boolean isImportStatementBase(@Nullable PsiElement psiElement)