| java.lang.Object com.sun.tools.javac.jvm.CRTable
CRTable | public class CRTable implements CRTFlags(Code) | | This class contains the CharacterRangeTable for some method
and the hashtable for mapping trees or lists of trees to their
ending positions.
This is NOT part of any API supported by Sun Microsystems. If
you write code that depends on this, you do so at your own risk.
This code and its internal interfaces are subject to change or
deletion without notice.
|
Inner Class :static class CRTEntry | |
Inner Class :static class SourceRange | |
Method Summary | |
public int | length() Return the number of the entries. | public void | put(Object tree, int flags, int startPc, int endPc) Create a new CRTEntry and add it to the entries. | public int | writeCRT(ByteBuffer databuf, Position.LineMap lineMap, Log log) Compute source positions and write CRT to the databuf. |
methodTree | JCTree.JCMethodDecl methodTree(Code) | | The tree of the method this table is intended for.
We should traverse this tree to get source ranges.
|
length | public int length()(Code) | | Return the number of the entries.
|
put | public void put(Object tree, int flags, int startPc, int endPc)(Code) | | Create a new CRTEntry and add it to the entries.
Parameters: tree - The tree or the list of trees for whichwe are storing the code pointers. Parameters: flags - The set of flags designating type of the entry. Parameters: startPc - The starting code position. Parameters: endPc - The ending code position. |
writeCRT | public int writeCRT(ByteBuffer databuf, Position.LineMap lineMap, Log log)(Code) | | Compute source positions and write CRT to the databuf.
Parameters: databuf - The buffer to write bytecodes to. |
|
|