Package org.jf.dexlib2.immutable.debug
Class ImmutableLineNumber
- java.lang.Object
-
- org.jf.dexlib2.immutable.debug.ImmutableDebugItem
-
- org.jf.dexlib2.immutable.debug.ImmutableLineNumber
-
- All Implemented Interfaces:
DebugItem
,LineNumber
public class ImmutableLineNumber extends ImmutableDebugItem implements LineNumber
-
-
Field Summary
Fields Modifier and Type Field Description protected int
lineNumber
-
Fields inherited from class org.jf.dexlib2.immutable.debug.ImmutableDebugItem
codeAddress
-
-
Constructor Summary
Constructors Constructor Description ImmutableLineNumber(int codeAddress, int lineNumber)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDebugItemType()
The type of this debug item.int
getLineNumber()
The line number associated with this code address.static ImmutableLineNumber
of(LineNumber lineNumber)
-
Methods inherited from class org.jf.dexlib2.immutable.debug.ImmutableDebugItem
getCodeAddress, immutableListOf, of
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.debug.DebugItem
getCodeAddress
-
-
-
-
Method Detail
-
of
@Nonnull public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber)
-
getLineNumber
public int getLineNumber()
Description copied from interface:LineNumber
The 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:
getLineNumber
in interfaceLineNumber
- Returns:
- The line number associated with this code address.
-
getDebugItemType
public int getDebugItemType()
Description copied from interface:DebugItem
The type of this debug item. The returned integer will be one of the DebugItemType.* constants.- Specified by:
getDebugItemType
in interfaceDebugItem
- Returns:
- The type of this debug item.
-
-