Class MixinNode

All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, NodeMetaDataHandler, org.objectweb.asm.Opcodes

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

    • EMPTY_ARRAY

      public static final MixinNode[] EMPTY_ARRAY
  • Constructor Details

    • MixinNode

      public MixinNode​(java.lang.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​(java.lang.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