Class ShrikeBTMethod.BytecodeInfo

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int[] lineNumberMap
      Cached map representing line number information in ShrikeCT format TODO: do more careful caching than just soft references
      protected int[][] localVariableMap
      an array mapping bytecode offsets to arrays representing the local variable maps for each offset; a local variable map is represented as an array of localVars*2 elements, containing a pair (nameIndex, typeIndex) for each local variable; a pair (0,0) indicates there is no information for that local variable at that offset
      protected IMethod.SourcePosition[] paramPositionMap
      Sourcecode positions for method parameters
      protected IMethod.SourcePosition[] positionMap
      Cached map representing position information for bytecode instruction at given index
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BytecodeInfo()  
    • Field Detail

      • positionMap

        protected IMethod.SourcePosition[] positionMap
        Cached map representing position information for bytecode instruction at given index
      • paramPositionMap

        protected IMethod.SourcePosition[] paramPositionMap
        Sourcecode positions for method parameters
      • lineNumberMap

        protected int[] lineNumberMap
        Cached map representing line number information in ShrikeCT format TODO: do more careful caching than just soft references
      • localVariableMap

        protected int[][] localVariableMap
        an array mapping bytecode offsets to arrays representing the local variable maps for each offset; a local variable map is represented as an array of localVars*2 elements, containing a pair (nameIndex, typeIndex) for each local variable; a pair (0,0) indicates there is no information for that local variable at that offset
    • Constructor Detail

      • BytecodeInfo

        protected BytecodeInfo()