Class ModWriterFabric

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
mods.thecomputerizer.theimpossiblelibrary.fabric.core.asm.ModWriterFabric

public abstract class ModWriterFabric extends mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter

    core, EMPTY_METHOD_DESC, entryPoint, entryPointDesc, entryPointInternal, entryPointMethods, entryPointMethodTypes, info, javaVersion, modType, modTypeDesc, modTypeInternal
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ModWriterFabric(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, int javaVersion)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addEntryHooks(org.objectweb.asm.MethodVisitor visitor, boolean isStatic, String method)
     
    protected Map.Entry<org.objectweb.asm.ClassWriter, org.objectweb.asm.Type>
    addInnerEntryPoint(org.objectweb.asm.ClassVisitor outerClass, boolean client, String innerName)
     
    protected org.objectweb.asm.Type
     
    protected void
    mappedEntryPointMethods(Map<String,String[]> redirects, Map<String, org.objectweb.asm.Type> types)
     
    protected void
    writeMod(org.objectweb.asm.ClassWriter writer, List<Map.Entry<String,byte[]>> classBytes)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter

    addClassAnnotations, addEntryHooks, addFields, addInnerClass, addInnerClass, buildModClass, classInit, constructor, finishWritingClass, generatedModType, getConstructor, getInfo, mapEntryPointMethod, modInterfaces, writeAnnotationArray, writeClassAnnotation, writeClassInit, writeConstructor, writeConstructor, writeInnerClass, writeInnerClass, writeMethod, writeMethodAnnotation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FABRIC_HELPER_INTERNAL

      protected static final String FABRIC_HELPER_INTERNAL
    • FINALIZER_DESC

      protected static final String FINALIZER_DESC
  • Constructor Details

    • ModWriterFabric

      protected ModWriterFabric(mods.thecomputerizer.theimpossiblelibrary.api.core.CoreAPI core, mods.thecomputerizer.theimpossiblelibrary.api.core.loader.MultiVersionModInfo info, int javaVersion)
  • Method Details

    • addEntryHooks

      protected void addEntryHooks(org.objectweb.asm.MethodVisitor visitor, boolean isStatic, String method)
    • addInnerEntryPoint

      protected Map.Entry<org.objectweb.asm.ClassWriter, org.objectweb.asm.Type> addInnerEntryPoint(org.objectweb.asm.ClassVisitor outerClass, boolean client, String innerName)
    • getEventMethod

      protected org.objectweb.asm.Type getEventMethod(String className)
      Specified by:
      getEventMethod in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
    • mappedEntryPointMethods

      protected void mappedEntryPointMethods(Map<String,String[]> redirects, Map<String, org.objectweb.asm.Type> types)
      Specified by:
      mappedEntryPointMethods in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter
    • writeMod

      protected void writeMod(org.objectweb.asm.ClassWriter writer, List<Map.Entry<String,byte[]>> classBytes)
      Overrides:
      writeMod in class mods.thecomputerizer.theimpossiblelibrary.api.core.asm.ModWriter