private static @Nullable PsiType createUtilListType(@NotNull Project project, @NotNull PsiArrayAccessExpression arrayAccess) {
    final JavaPsiFacade facade = JavaPsiFacade.getInstance(project);
    final PsiClass listClass = JavaPsiFacade.getInstance(project).findClass(CommonClassNames.JAVA_UTIL_LIST, arrayAccess.getResolveScope());

    if (listClass == null) return null;

    final PsiElementFactory factory = facade.getElementFactory();
    return factory.createType(listClass);
  }
private static @Nullable PsiType createUtilListType(@NotNull Project project, @NotNull PsiArrayAccessExpression arrayAccess)