public abstract class ModWriterForge
extends mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
| Modifier and Type | Field and Description |
|---|---|
protected static org.objectweb.asm.Type |
DIST |
protected static org.objectweb.asm.Type |
EVENT_SUBSCRIBER |
protected static org.objectweb.asm.Type |
EVENT_SUBSCRIBER_BUS |
protected static org.objectweb.asm.Type |
JAVA_LOADING_CONTEXT |
protected static org.objectweb.asm.Type |
MOD_ANNOTATION |
protected static org.objectweb.asm.Type |
SUBSCRIBE_EVENT |
| Modifier | Constructor and Description |
|---|---|
protected |
ModWriterForge(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core,
mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info,
int javaVersion) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassAnnotations(org.objectweb.asm.ClassVisitor visitor) |
protected void |
addEntryHooks(org.objectweb.asm.MethodVisitor visitor,
java.lang.String method) |
protected void |
addEventSubscriber(org.objectweb.asm.ClassVisitor visitor,
java.lang.String modid,
boolean modBus,
boolean client,
boolean server) |
protected java.util.Map.Entry<org.objectweb.asm.ClassWriter,org.objectweb.asm.Type> |
addInnerEventSubscriber(org.objectweb.asm.ClassVisitor outerClass,
java.lang.String modid,
boolean modBus,
boolean client,
boolean server,
java.lang.String innerName,
java.lang.String... entryMethods) |
protected org.objectweb.asm.Type |
getEventMethod(java.lang.String className) |
protected void |
mappedEntryPointMethods(java.util.Map<java.lang.String,java.lang.String[]> redirects,
java.util.Map<java.lang.String,org.objectweb.asm.Type> types) |
addEntryHooks, addFields, addInnerClass, addInnerClass, buildModClass, classInit, constructor, finishWritingClass, generatedModType, getConstructor, getInfo, mapEntryPointMethod, modInterfaces, writeAnnotationArray, writeClassAnnotation, writeClassInit, writeConstructor, writeConstructor, writeInnerClass, writeInnerClass, writeMethod, writeMethodAnnotation, writeModprotected static final org.objectweb.asm.Type DIST
protected static final org.objectweb.asm.Type EVENT_SUBSCRIBER
protected static final org.objectweb.asm.Type EVENT_SUBSCRIBER_BUS
protected static final org.objectweb.asm.Type JAVA_LOADING_CONTEXT
protected static final org.objectweb.asm.Type MOD_ANNOTATION
protected static final org.objectweb.asm.Type SUBSCRIBE_EVENT
protected ModWriterForge(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core,
mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info,
int javaVersion)
protected void addClassAnnotations(org.objectweb.asm.ClassVisitor visitor)
addClassAnnotations in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriterprotected void addEntryHooks(org.objectweb.asm.MethodVisitor visitor,
java.lang.String method)
protected void addEventSubscriber(org.objectweb.asm.ClassVisitor visitor,
java.lang.String modid,
boolean modBus,
boolean client,
boolean server)
protected java.util.Map.Entry<org.objectweb.asm.ClassWriter,org.objectweb.asm.Type> addInnerEventSubscriber(org.objectweb.asm.ClassVisitor outerClass,
java.lang.String modid,
boolean modBus,
boolean client,
boolean server,
java.lang.String innerName,
java.lang.String... entryMethods)
protected org.objectweb.asm.Type getEventMethod(java.lang.String className)
getEventMethod in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriterprotected void mappedEntryPointMethods(java.util.Map<java.lang.String,java.lang.String[]> redirects,
java.util.Map<java.lang.String,org.objectweb.asm.Type> types)
mappedEntryPointMethods in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter