@Override public <T> T convert(List<GroupType> path, TypeConverter<T> converter) { return converter.convertPrimitiveType(path, this); } }
public <T> T convertWith(TypeConverter<T> converter) { final ArrayList<GroupType> path = new ArrayList<GroupType>(); path.add(this); return converter.convertMessageType(this, convertChildren(path, converter)); } }
@Override <T> T convert(List<GroupType> path, TypeConverter<T> converter) { List<GroupType> childrenPath = new ArrayList<GroupType>(path); childrenPath.add(this); final List<T> children = convertChildren(childrenPath, converter); return converter.convertGroupType(path, this, children); }
public <T> T convertWith(TypeConverter<T> converter) { final ArrayList<GroupType> path = new ArrayList<GroupType>(); path.add(this); return converter.convertMessageType(this, convertChildren(path, converter)); }
@Override <T> T convert(List<GroupType> path, TypeConverter<T> converter) { List<GroupType> childrenPath = new ArrayList<GroupType>(path); childrenPath.add(this); final List<T> children = convertChildren(childrenPath, converter); return converter.convertGroupType(path, this, children); }
@Override public <T> T convert(List<GroupType> path, TypeConverter<T> converter) { return converter.convertPrimitiveType(path, this); }