Class MixinCodeModifier

java.lang.Object
net.minestom.server.extras.selfmodification.CodeModifier
net.minestom.server.extras.selfmodification.mixins.MixinCodeModifier

public class MixinCodeModifier
extends CodeModifier
CodeModifier responsible for applying Mixins during class load
  • Constructor Summary

    Constructors 
    Constructor Description
    MixinCodeModifier()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getNamespace()
    Beginning of the class names to transform.
    boolean transform​(org.objectweb.asm.tree.ClassNode source)
    Must return true iif the class node has been modified

    Methods inherited from class java.lang.Object

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

  • Method Details

    • transform

      public boolean transform​(org.objectweb.asm.tree.ClassNode source)
      Description copied from class: CodeModifier
      Must return true iif the class node has been modified
      Specified by:
      transform in class CodeModifier
      Returns:
    • getNamespace

      public java.lang.String getNamespace()
      Description copied from class: CodeModifier
      Beginning of the class names to transform. 'null' is allowed to transform any class, but not recommended
      Specified by:
      getNamespace in class CodeModifier
      Returns: