Package org.apache.bcel.classfile

Examples of org.apache.bcel.classfile.LineNumberTable


    int codeLength = code.getCode().length;

    /////////////////////
    // LineNumberTable //
    /////////////////////
    LineNumberTable lnt = code.getLineNumberTable();
    if (lnt != null){
      LineNumber[] lineNumbers = lnt.getLineNumberTable();
      IntList offsets = new IntList();
      lineNumber_loop: for (int i=0; i < lineNumbers.length; i++){ // may appear in any order.
        for (int j=0; j < instructionPositions.length; j++){
          // TODO: Make this a binary search! The instructionPositions array is naturally ordered!
          int offset = lineNumbers[i].getStartPC();
View Full Code Here

TOP

Related Classes of org.apache.bcel.classfile.LineNumberTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.