final ClassInfo originalClass = classInfoFactory
.getClassInfo(originalClassName);
// original field, optional
final ClassInfo fieldType = classInfoFactory
.getNoProxyClassInfo(Object.class);
final FieldInfo originalField;
if (strings[2].length() == 0) {
originalField = null;
} else {
final String fieldName = strings[2];
originalField = new FieldInfo(originalClass, fieldName, fieldType,
Boolean.FALSE, Boolean.TRUE);
}
// new identifier
final String newIdentifierName = strings[3];
final int newIdentifier = Version.releaseId(newIdentifierName);
// replacement class name
final String replacementClassName = strings[4];
final ClassInfo replacementClass = classInfoFactory
.getClassInfo(replacementClassName);
// replacement field name, optional
final FieldInfo replacementField;
if (strings.length < 6 || strings[5].length() == 0) {
replacementField = null;
} else {
replacementField = new FieldInfo(replacementClass,
strings[5]/* fieldName */, fieldType, Boolean.FALSE,
Boolean.FALSE);
}
// converter class name, optional
final ClassInfo converterClass;