docs: private void detectPackageName(final Warning warning) {
          if (!warning.hasPackageName()) {
              warning.setPackageName(PackageDetectors.detectPackageName(warning.getFileName()));
          }
      }