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; } } } }
final String interfaceForGetter = this.builder.mapSubClassesInterfaces.get(newStruct.getPath()); registerGetterSetter(interfaceForGetter == null ? structType : interfaceForGetter + (nullableArraySize == null ? "" : " []"), structName, false); registerMaker(structBaseTypeName, structName, pathToRootObject, nullableArraySize != null);
final String customText, final boolean useSuperclassForReadWrite) { final String interfaceForGetSet = mapStructInterfaces == null ? null : mapStructInterfaces.get(this.getPath()); c.write(buffer, null, mapStructSuperclasses.get(c.getPath()), null, mapStructInterfaces, mapStructSuperclasses, null, null, null, false);