private void printMatchPackage(String packageName) {
    for (Main.PrintType pt : args.printTypes) {
      switch (pt) {
        case CLASS:
        case INNERCLASS:
        case METHOD:
          matchPackages.add(packageName);
          break;
        case PACKAGE:
          System.out.println(packageName.replace('/', '.'));
          break;
      }
    }
  }
Prints, or schedules for printing, elements related to a matching package.

@param packageName {@code non-null;} name of package
android/android_framework/dex-maker/src/main/java/com/android/dx/command/annotool/AnnotationLister.java