Class DataClaySwitchByImplementationID

    • Field Detail

      • metaClass

        protected final MetaClass metaClass
        Information of class.
      • stubInfo

        protected final StubInfo stubInfo
        Stub information for stubs.
      • isExecClass

        protected final boolean isExecClass
        Indicates if it is an execution class.
      • gn

        protected final org.objectweb.asm.commons.GeneratorAdapter gn
        Method generator.
      • ia

        protected final org.objectweb.asm.commons.InstructionAdapter ia
        Instruction adapter.
    • Constructor Detail

      • DataClaySwitchByImplementationID

        public DataClaySwitchByImplementationID​(MetaClass themetaClass,
                                                StubInfo thestubInfo,
                                                boolean theisExecClass,
                                                org.objectweb.asm.commons.GeneratorAdapter thegn,
                                                org.objectweb.asm.commons.InstructionAdapter theia)
        Constructor
        Parameters:
        themetaClass - Information of class.
        thestubInfo - Stub info
        theisExecClass - isExec class
        thegn - Method generator.
        theia - Instruction adapter
    • Method Detail

      • generateCase

        protected abstract void generateCase​(Implementation impl)
        Generate code for each case.
        Parameters:
        impl - Implementation of case
      • generateCallToParentCase

        protected abstract void generateCallToParentCase()
        Generate code for calling to parent for each case.
      • generateCode

        public final void generateCode​(boolean ignoreConstructors)
        Generate switch case by Implementation ID code (IMPLID is parameter 0)
        Parameters:
        ignoreConstructors - Indicates if constructors must be ignored.