return String.format("%s.getNamedValue(this, \"%s\")", (getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT), obj.toString()); } else if (obj instanceof JBBPNamedFieldInfo) { final NamedFieldInfo namedFieldInfo = foundNamedFields.get(obj);
String makeSrcPath(final Struct currentStruct) { final String fieldName = prepFldName(info.getFieldName()); if (this.struct == currentStruct) { return "this." + fieldName; } else { final String structPath = this.struct.getPath(); if (currentStruct.isRoot()) { return "this." + (structPath.length() == 0 ? "" : structPath + ".") + fieldName; } else { return "this." + NAME_ROOT_STRUCT + '.' + (structPath.length() == 0 ? "" : structPath + ".") + fieldName; } } } }
fieldName, String.format("%s.readCustomFieldType(this, In, %s, %s, %s, %b, %s)", this.getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT, specialFieldName_typeParameterContainer, nullableNameFieldInfo == null ? "null" : specialFieldName_fieldNameInfo, this.getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT, "this." + fieldName, specialFieldName_typeParameterContainer,
fieldName, String.format("%s.readVarArray(this, In, %s, %s, %s, %b, %s)", this.getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT, "JBBPByteOrder." + byteOrder.name(), nullableNameFieldInfo == null ? "null" : specialFieldName_fieldNameInfo, this.getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT, fieldName, "JBBPByteOrder." + byteOrder.name(), fieldName, String.format("%s.readVarField(this, In, %s, %s, %s)", this.getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT, "JBBPByteOrder." + byteOrder.name(), nullableNameFieldInfo == null ? "null" : specialFieldName_fieldNameInfo, this.getCurrentStruct().isRoot() ? "this" : "this." + NAME_ROOT_STRUCT, fieldName, "JBBPByteOrder." + byteOrder.name(),