Class Mixin.Generator

    • Field Detail

      • classes

        private java.lang.Class[] classes
      • delegates

        private java.lang.Object[] delegates
      • style

        private int style
      • route

        private int[] route
    • Constructor Detail

      • Generator

        public Generator()
    • Method Detail

      • getProtectionDomain

        protected java.security.ProtectionDomain getProtectionDomain()
        Description copied from class: AbstractClassGenerator
        Returns the protection domain to use when defining the class.

        Default implementation returns null for using a default protection domain. Sub-classes may override to use a more specific protection domain.

        Overrides:
        getProtectionDomain in class AbstractClassGenerator
        Returns:
        the protection domain (null for using a default)
      • setStyle

        public void setStyle​(int style)
      • setClasses

        public void setClasses​(java.lang.Class[] classes)
      • setDelegates

        public void setDelegates​(java.lang.Object[] delegates)
      • create

        public Mixin create()
      • generateClass

        public void generateClass​(org.objectweb.asm.ClassVisitor v)