Class WrapParametersAndReturnTableSwitchGenerator

    • Constructor Detail

      • WrapParametersAndReturnTableSwitchGenerator

        protected WrapParametersAndReturnTableSwitchGenerator​(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

      • getTypesToWrap

        protected abstract Collection<Type> getTypesToWrap​(Operation operation)
        Get types to wrap
        Parameters:
        operation - Operation
        Returns:
        Types to wrap
      • getParameter

        protected abstract void getParameter​(int idx)
        Get parameter
        Parameters:
        idx - Index of parameter
      • checkIfNothingToSerialize

        protected abstract boolean checkIfNothingToSerialize​(Operation operation)
        Check if nothing to serialize
        Parameters:
        operation - Op. to check.
        Returns:
        TRUE if nothing to serialize