docs: public static boolean isJavaArchive(IResource resource) {
          if (resource == null || (resource.getType() != IResource.FILE)) {
              return false;
          }
          String name = resource.getName();
          return Archive.isArchiveFileName(name);
      }