public static boolean isGroovySourceFile(@NotNull GroovyFileBase file) {
    return isInSourceFiles(file.getVirtualFile(), file.getProject());
  }
public static boolean isGroovySourceFile(@NotNull GroovyFileBase file)