Package org.jf.dexlib2.builder.debug
Class BuilderLineNumber
java.lang.Object
org.jf.dexlib2.builder.ItemWithLocation
org.jf.dexlib2.builder.BuilderDebugItem
org.jf.dexlib2.builder.debug.BuilderLineNumber
- All Implemented Interfaces:
DebugItem,LineNumber
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe type of this debug item.intThe line number associated with this code address.Methods inherited from class org.jf.dexlib2.builder.BuilderDebugItem
getCodeAddressMethods inherited from class org.jf.dexlib2.builder.ItemWithLocation
isPlaced, setLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jf.dexlib2.iface.debug.DebugItem
getCodeAddress
-
Field Details
-
lineNumber
private final int lineNumber
-
-
Constructor Details
-
BuilderLineNumber
public BuilderLineNumber(int lineNumber)
-
-
Method Details
-
getLineNumber
public int getLineNumber()Description copied from interface:LineNumberThe line number associated with this code address. This value should be treated as an unsigned integer, with negative values indicating a value > 2^31, using the usual two's complement semantics.- Specified by:
getLineNumberin interfaceLineNumber- Returns:
- The line number associated with this code address.
-
getDebugItemType
public int getDebugItemType()Description copied from interface:DebugItemThe type of this debug item. The returned integer will be one of the DebugItemType.* constants.- Specified by:
getDebugItemTypein interfaceDebugItem- Returns:
- The type of this debug item.
-