Class ConstructorDelegate.Generator

    • Field Detail

      • CONSTRUCTOR_DELEGATE

        private static final org.objectweb.asm.Type CONSTRUCTOR_DELEGATE
      • iface

        private java.lang.Class iface
      • targetClass

        private java.lang.Class targetClass
    • Constructor Detail

      • Generator

        public Generator()
    • Method Detail

      • setInterface

        public void setInterface​(java.lang.Class iface)
      • setTargetClass

        public void setTargetClass​(java.lang.Class targetClass)
      • 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)
      • generateClass

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