public static boolean isFollowedByImport(@NotNull PsiElement element) {
    final PsiElement parent = element.getParent();
    if (parent instanceof PsiImportList) {
      final PsiImportList importList = (PsiImportList)parent;
      final PsiImportStatementBase @NotNull [] imports = importList.getAllImportStatements();
      if (imports.length == 0) return false;
      return imports[imports.length - 1].getStartOffsetInParent() > element.getStartOffsetInParent();
    }
    return false;
  }
public static boolean isFollowedByImport(@NotNull PsiElement element)