Class MixinProcessor

java.lang.Object
org.spongepowered.asm.mixin.transformer.MixinProcessor

public class MixinProcessor
extends java.lang.Object
Heart of the Mixin pipeline
  • Method Summary

    Modifier and Type Method Description
    void audit​(MixinEnvironment environment)
    Force-load all classes targetted by mixins but not yet applied
    java.util.List<java.lang.String> reload​(java.lang.String mixinClass, org.objectweb.asm.tree.ClassNode classNode)
    Update a mixin class with new bytecode.

    Methods inherited from class java.lang.Object

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

    • audit

      public void audit​(MixinEnvironment environment)
      Force-load all classes targetted by mixins but not yet applied
      Parameters:
      environment - current environment
    • reload

      public java.util.List<java.lang.String> reload​(java.lang.String mixinClass, org.objectweb.asm.tree.ClassNode classNode)
      Update a mixin class with new bytecode.
      Parameters:
      mixinClass - Name of the mixin
      classNode - New class
      Returns:
      List of classes that need to be updated