Class InjectionUtil

java.lang.Object
io.github.stanikoc.eventsystem.util.InjectionUtil

public final class InjectionUtil extends Object
  • Method Details

    • stripBaseListener

      public static void stripBaseListener(File file, ClassLoader loader)
    • injectListenerTypes

      public static void injectListenerTypes(File file, ClassLoader loader, Class<?> primary, Class<?> secondary)
    • modifyClass

      public static void modifyClass(File file, ClassLoader loader, Function<org.objectweb.asm.ClassWriter,org.objectweb.asm.ClassVisitor> visitorProvider) throws IOException
      Throws:
      IOException