int value = 0;
if (o instanceof String) {
// TODO: parse into ClassInfo, RefInfo NameAndTypeInfo etc
throw new RuntimeException("Editing not implemented.");
} else {
Wrapper wrapper = (Wrapper)o;
Object content = wrapper.getContent();
if(content instanceof FieldLocator) {
FieldLocator fl = (FieldLocator)content;
return fl;
} else {
RefInfo ri = (RefInfo) ( (Wrapper) o).getContent();