Class ClosedIdxExceptionEntry


  • public class ClosedIdxExceptionEntry
    extends java.lang.Object
    Sanitised version of Exception table entry, where we use instruction idx, rather than opcode, and the exceptions are CLOSED, rather than half open.

    We preprocess exceptions in terms of this where possible, as it's simpler.

    • Field Detail

      • start

        private final int start
      • end

        private final int end
      • handler

        private final int handler
      • catchType

        private final short catchType
      • priority

        private final int priority
    • Constructor Detail

      • ClosedIdxExceptionEntry

        public ClosedIdxExceptionEntry​(int start,
                                       int end,
                                       int handler,
                                       short catchType,
                                       int priority,
                                       JavaRefTypeInstance catchRefType)
    • Method Detail

      • getStart

        public int getStart()
      • getEnd

        public int getEnd()
      • getHandler

        public int getHandler()
      • getCatchType

        public short getCatchType()
      • getPriority

        public int getPriority()
      • convertToRaw

        public ExceptionTableEntry convertToRaw​(java.util.Map<java.lang.Integer,​java.lang.Integer> offsetByIdx)