Class MixinNode

  • All Implemented Interfaces:
    org.objectweb.asm.Opcodes

    public class MixinNode
    extends ClassNode
    Represents a mixin which can be applied to any ClassNode to implement mixins
    • Field Detail

      • EMPTY_ARRAY

        public static final MixinNode[] EMPTY_ARRAY
    • Constructor Detail

      • MixinNode

        public MixinNode​(String name,
                         int modifiers,
                         ClassNode superType)
        Parameters:
        name - is the full name of the class
        modifiers - the modifiers, @see org.objectweb.asm.Opcodes
        superType - the base class name - use "java.lang.Object" if no direct base class
      • MixinNode

        public MixinNode​(String name,
                         int modifiers,
                         ClassNode superType,
                         ClassNode[] interfaces)
        Parameters:
        name - is the full name of the class
        modifiers - the modifiers, @see org.objectweb.asm.Opcodes
        superType - the base class name - use "java.lang.Object" if no direct base class