private void registerReflectiveClass(CtClass clazz){
  CtField[] fs=clazz.getDeclaredFields();
  for (int i=0; i < fs.length; ++i) {
    CtField f=fs[i];
    int mod=f.getModifiers();
    if ((mod & Modifier.PUBLIC) != 0 && (mod & Modifier.FINAL) == 0) {
      String name=f.getName();
      converter.replaceFieldRead(f,clazz,readPrefix + name);
      converter.replaceFieldWrite(f,clazz,writePrefix + name);
    }
  }
}

private void registerReflectiveClass ( CtClass clazz ) { CtField [ ] fs = clazz . getDeclaredFields ( ) ; for ( int i = 0 ; i < fs . length ; ++ i ) { CtField f = fs [ i ] ; int mod = f . getModifiers ( ) ; if ( ( mod & Modifier . PUBLIC ) != 0 && ( mod & Modifier . FINAL ) == 0 ) { String name = f . getName ( ) ; converter . replaceFieldRead ( f , clazz , readPrefix + name ) ; converter . replaceFieldWrite ( f , clazz , writePrefix + name ) ; } } }
registers a reflective class . the field accesses to the instances of this class are instrumented .
