Class AsmVisitorWrapper.AbstractBase

    • Constructor Detail

      • AbstractBase

        public AbstractBase()
    • Method Detail

      • mergeWriter

        public int mergeWriter​(int flags)
        Defines the flags that are provided to any ClassWriter when writing a class. Typically, this gives opportunity to instruct ASM to compute stack map frames or the size of the local variables array and the operand stack. If no specific flags are required for applying this wrapper, the given value is to be returned.
        Specified by:
        mergeWriter in interface AsmVisitorWrapper
        Parameters:
        flags - The currently set flags. This value should be combined (e.g. flags | foo) into the value that is returned by this wrapper.
        Returns:
        The flags to be provided to the ASM ClassWriter.
      • mergeReader

        public int mergeReader​(int flags)
        Defines the flags that are provided to any ClassReader when reading a class if applicable. Typically, this gives opportunity to instruct ASM to expand or skip frames and to skip code and debug information. If no specific flags are required for applying this wrapper, the given value is to be returned.
        Specified by:
        mergeReader in interface AsmVisitorWrapper
        Parameters:
        flags - The currently set flags. This value should be combined (e.g. flags | foo) into the value that is returned by this wrapper.
        Returns:
        The flags to be provided to the ASM ClassReader.