private ClassDefItem translateClass(byte[] bytes, DirectClassFile cf) {
    try {
      return CfTranslator.translate(context, cf, bytes, args.cfOptions, args.dexOptions, outputDex);
    } catch (ParseException ex) {
      context.err.println("\ntrouble processing:");
      if (args.debug) {
        ex.printStackTrace(context.err);
      } else {
        ex.printContext(context.err);
      }
    }
    errors.incrementAndGet();
    return null;
  }
Processes one classfile.

@param name {@code non-null;} name of the file, clipped such that it <i>should</i> correspond
    to the name of the class it contains
@param bytes {@code non-null;} contents of the file
@return whether processing was successful
android/android_framework/dex-maker/src/main/java/com/android/dx/command/dexer/Main.java