com.jeffpalm.basic.bytecode.base
Class LineNumberTableAttribute
java.lang.Object
com.jeffpalm.basic.bytecode.base.LineNumberTableAttribute
- All Implemented Interfaces:
- IAttribute, ICodeGenerator, ILineNumberTableAttribute, IMutableLineNumberTableAttribute, IDumpable
public final class LineNumberTableAttribute
- extends java.lang.Object
- implements IMutableLineNumberTableAttribute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jeffpalm.basic.util.IDumpable |
dump |
LineNumberTableAttribute
public LineNumberTableAttribute(IConstantPool pool)
lineNumberTableLength
public int lineNumberTableLength()
- Specified by:
lineNumberTableLength
in interface ILineNumberTableAttribute
startPC
public int startPC(int lineNumber)
- Specified by:
startPC
in interface ILineNumberTableAttribute
lineNumber
public int lineNumber(int startPC)
- Specified by:
lineNumber
in interface ILineNumberTableAttribute
addEntry
public ILineNumberTableAttribute.IEntry addEntry(int startPC,
int lineNumber)
- Specified by:
addEntry
in interface IMutableLineNumberTableAttribute
entries
public ILineNumberTableAttribute.IEntry entries(int i)
- Specified by:
entries
in interface ILineNumberTableAttribute
length
public int length()
- Specified by:
length
in interface IAttribute
genRest
protected void genRest(ICodeStream code)
throws java.io.IOException
- Throws:
java.io.IOException
dumpRest
protected void dumpRest(IAppendable out)
pool
public final IConstantPool pool()
- Specified by:
pool
in interface IAttribute
name
public final java.lang.String name()
- Specified by:
name
in interface IAttribute
gen
public final void gen(ICodeStream code)
throws java.io.IOException
- Specified by:
gen
in interface ICodeGenerator
- Throws:
java.io.IOException
dump
public final void dump(IAppendable out)
- Specified by:
dump
in interface IDumpable