private void addField(MappedClass clazz,String[] parts){
  String original="";
  String newName="";
  String desc="";
  if (parts.length == 3) {
    original=parts[1];
    newName=parts[1];
    desc=parts[2];
  }
 else   if (parts.length == 4) {
    original=parts[1];
    newName=parts[2];
    desc=parts[3];
  }
 else {
    return;
  }
  if (desc.contains("Lnone/")) {
    desc=desc.replace("Lnone/","L");
  }
  MappedMember mm=new MappedMember(clazz,findField(clazz.getNode(),original,desc),-1,desc,original);
  mm.setNewName(newName);
  clazz.addField(mm);
}

private void addField ( MappedClass clazz , String [ ] parts ) { String original = "" ; String newName = "" ; String desc = "" ; if ( parts . length == 3 ) { original = parts [ 1 ] ; newName = parts [ 1 ] ; desc = parts [ 2 ] ; } else if ( parts . length == 4 ) { original = parts [ 1 ] ; newName = parts [ 2 ] ; desc = parts [ 3 ] ; } else { return ; } if ( desc . contains ( "Lnone/" ) ) { desc = desc . replace ( "Lnone/" , "L" ) ; } MappedMember mm = new MappedMember ( clazz , findField ( clazz . getNode ( ) , original , desc ) , - 1 , desc , original ) ; mm . setNewName ( newName ) ; clazz . addField ( mm ) ; }
add a field to the given class .
