static boolean isFileExcluded(VirtualFile file) {
    String path = file.getPath();
    return isInsideDummyAndroidJar(path) ||
           // Methods of GenericModel.class in Play framework throw UnsupportedOperationException
           // However, it looks like they are replaced with something meaningful during compilation/runtime
           // See IDEA-285334.
           path.endsWith("!/play/db/jpa/GenericModel.class");
  }
static boolean isFileExcluded(VirtualFile file)