public final String name;
public final List<PatchDescriptor> patches = new ArrayList<PatchDescriptor>();
private ClassPatchDescriptor(Element element) {
attributes = DomUtil.getAttributes(element);
ClassDescription deobfuscatedClass = new ClassDescription(attributes.get("id"));
ClassDescription obfuscatedClass = mappings.map(deobfuscatedClass);
name = obfuscatedClass == null ? deobfuscatedClass.name : obfuscatedClass.name;
for (Element patchElement : DomUtil.elementList(element.getChildNodes())) {
PatchDescriptor patchDescriptor = new PatchDescriptor(patchElement);
patches.add(patchDescriptor);
List<MethodDescription> methodDescriptionList = MethodDescription.fromListString(deobfuscatedClass.name, patchDescriptor.getMethods());