protected ClassWriter(Context context){
  context.put(classWriterKey,this);
  log=Log.instance(context);
  names=Names.instance(context);
  options=Options.instance(context);
  target=Target.instance(context);
  source=Source.instance(context);
  types=Types.instance(context);
  fileManager=context.get(JavaFileManager.class);
  signatureGen=new CWSignatureGenerator(types);
  verbose=options.isSet(VERBOSE);
  scramble=options.isSet("-scramble");
  scrambleAll=options.isSet("-scrambleAll");
  retrofit=options.isSet("-retrofit");
  genCrt=options.isSet(XJCOV);
  debugstackmap=options.isSet("debugstackmap");
  emitSourceFile=options.isUnset(G_CUSTOM) || options.isSet(G_CUSTOM,"source");
  String dumpModFlags=options.get("dumpmodifiers");
  dumpClassModifiers=(dumpModFlags != null && dumpModFlags.indexOf('c') != -1);
  dumpFieldModifiers=(dumpModFlags != null && dumpModFlags.indexOf('f') != -1);
  dumpInnerClassModifiers=(dumpModFlags != null && dumpModFlags.indexOf('i') != -1);
  dumpMethodModifiers=(dumpModFlags != null && dumpModFlags.indexOf('m') != -1);
}

protected ClassWriter ( Context context ) { context . put ( classWriterKey , this ) ; log = Log . instance ( context ) ; names = Names . instance ( context ) ; options = Options . instance ( context ) ; target = Target . instance ( context ) ; source = Source . instance ( context ) ; types = Types . instance ( context ) ; fileManager = context . get ( JavaFileManager . class ) ; signatureGen = new CWSignatureGenerator ( types ) ; verbose = options . isSet ( VERBOSE ) ; scramble = options . isSet ( "-scramble" ) ; scrambleAll = options . isSet ( "-scrambleAll" ) ; retrofit = options . isSet ( "-retrofit" ) ; genCrt = options . isSet ( XJCOV ) ; debugstackmap = options . isSet ( "debugstackmap" ) ; emitSourceFile = options . isUnset ( G_CUSTOM ) || options . isSet ( G_CUSTOM , "source" ) ; String dumpModFlags = options . get ( "dumpmodifiers" ) ; dumpClassModifiers = ( dumpModFlags != null && dumpModFlags . indexOf ( 'c' ) != - 1 ) ; dumpFieldModifiers = ( dumpModFlags != null && dumpModFlags . indexOf ( 'f' ) != - 1 ) ; dumpInnerClassModifiers = ( dumpModFlags != null && dumpModFlags . indexOf ( 'i' ) != - 1 ) ; dumpMethodModifiers = ( dumpModFlags != null && dumpModFlags . indexOf ( 'm' ) != - 1 ) ; }
construct a class writer , given an options table .
