Package com.yworks.yguard.obf.classfile
Class LineNumberInfo
- java.lang.Object
-
- com.yworks.yguard.obf.classfile.LineNumberInfo
-
public class LineNumberInfo extends java.lang.ObjectRepresentation of an Line Number table entry.
-
-
Constructor Summary
Constructors Constructor Description LineNumberInfo()Instantiates a new Line number info.LineNumberInfo(int startPC, int lineNumber)Instantiates a new Line number info.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LineNumberInfocreate(java.io.DataInput din)Create line number info.intgetLineNumber()Get line number int.intgetStartPC()Get start pc int.voidsetLineNumber(int number)Set line number.voidsetStartPC(int startPc)Set start pc.voidwrite(java.io.DataOutput dout)Export the representation to a DataOutput stream.
-
-
-
Method Detail
-
create
public static LineNumberInfo create(java.io.DataInput din) throws java.io.IOException
Create line number info.- Parameters:
din- the din- Returns:
- the line number info
- Throws:
java.io.IOException- the io exception
-
setLineNumber
public void setLineNumber(int number)
Set line number.- Parameters:
number- the number
-
getLineNumber
public int getLineNumber()
Get line number int.- Returns:
- the int
-
getStartPC
public int getStartPC()
Get start pc int.- Returns:
- the int
-
setStartPC
public void setStartPC(int startPc)
Set start pc.- Parameters:
startPc- the start pc
-
write
public void write(java.io.DataOutput dout) throws java.io.IOExceptionExport the representation to a DataOutput stream.- Parameters:
dout- the dout- Throws:
java.io.IOException- the io exception
-
-