public class ModAPITransformer
extends java.lang.Object
implements net.minecraft.launchwrapper.IClassTransformer
Modifier and Type | Class and Description |
---|---|
private static class |
ModAPITransformer.RemovingSignatureWriter |
Modifier and Type | Field and Description |
---|---|
private static boolean |
logDebugInfo |
private com.google.common.collect.ListMultimap<java.lang.String,ASMDataTable.ASMData> |
optionals |
Constructor and Description |
---|
ModAPITransformer() |
Modifier and Type | Method and Description |
---|---|
private void |
addData(java.util.Set<ASMDataTable.ASMData> interfaces) |
void |
initTable(ASMDataTable dataTable) |
private void |
stripInterface(org.objectweb.asm.tree.ClassNode classNode,
java.lang.String interfaceName,
boolean stripRefs) |
private void |
stripMethod(org.objectweb.asm.tree.ClassNode classNode,
java.lang.String methodDescriptor) |
byte[] |
transform(java.lang.String name,
java.lang.String transformedName,
byte[] basicClass) |
private java.util.Set<ASMDataTable.ASMData> |
unpackInterfaces(java.util.Set<ASMDataTable.ASMData> packedInterfaces) |
private static final boolean logDebugInfo
private com.google.common.collect.ListMultimap<java.lang.String,ASMDataTable.ASMData> optionals
public byte[] transform(java.lang.String name, java.lang.String transformedName, byte[] basicClass)
transform
in interface net.minecraft.launchwrapper.IClassTransformer
private void stripMethod(org.objectweb.asm.tree.ClassNode classNode, java.lang.String methodDescriptor)
private void stripInterface(org.objectweb.asm.tree.ClassNode classNode, java.lang.String interfaceName, boolean stripRefs)
public void initTable(ASMDataTable dataTable)
private java.util.Set<ASMDataTable.ASMData> unpackInterfaces(java.util.Set<ASMDataTable.ASMData> packedInterfaces)
private void addData(java.util.Set<ASMDataTable.ASMData> interfaces)