private void printMatch(DirectClassFile cf) {
    for (Main.PrintType pt : args.printTypes) {
      switch (pt) {
        case CLASS:
          String classname;
          classname = cf.getThisClass().getClassType().getClassName();
          classname = classname.replace('/', '.');
          System.out.println(classname);
          break;
        case INNERCLASS:
          matchInnerClassesOf.add(cf.getThisClass().getClassType().getClassName());
          break;
        case METHOD:
          // TODO
          break;
        case PACKAGE:
          break;
      }
    }
  }
Prints, or schedules for printing, elements related to a matching class.

@param cf {@code non-null;} matching class
android/android_framework/dex-maker/src/main/java/com/android/dx/command/annotool/AnnotationLister.java