Class LineNumberGen

    • Constructor Detail

      • LineNumberGen

        public LineNumberGen​(InstructionHandle ih,
                             int src_line)
        Create a line number.
        Parameters:
        ih - instruction handle to reference
    • Method Detail

      • getLineNumber

        public LineNumber getLineNumber()
        Get LineNumber attribute . This relies on that the instruction list has already been dumped to byte code or or that the `setPositions' methods has been called for the instruction list.
      • setInstruction

        public void setInstruction​(InstructionHandle instructionHandle)
      • setSourceLine

        public void setSourceLine​(int src_line)
      • getSourceLine

        public int getSourceLine()