Java Code Examples for org.jf.dexlib2.iface.debug.LineNumber#getLineNumber()

The following examples show how to use org.jf.dexlib2.iface.debug.LineNumber#getLineNumber() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImmutableLineNumber.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Nonnull
public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber) {
    if (lineNumber instanceof ImmutableLineNumber) {
        return (ImmutableLineNumber)lineNumber;
    }
    return new ImmutableLineNumber(
            lineNumber.getCodeAddress(),
            lineNumber.getLineNumber());
}
 
Example 2
Source File: ImmutableLineNumber.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
@Nonnull
public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber) {
    if (lineNumber instanceof ImmutableLineNumber) {
        return (ImmutableLineNumber)lineNumber;
    }
    return new ImmutableLineNumber(
            lineNumber.getCodeAddress(),
            lineNumber.getLineNumber());
}
 
Example 3
Source File: ImmutableLineNumber.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
@Nonnull
public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber) {
    if (lineNumber instanceof ImmutableLineNumber) {
        return (ImmutableLineNumber)lineNumber;
    }
    return new ImmutableLineNumber(
            lineNumber.getCodeAddress(),
            lineNumber.getLineNumber());
}
 
Example 4
Source File: ImmutableLineNumber.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
@Nonnull
public static ImmutableLineNumber of(@Nonnull LineNumber lineNumber) {
    if (lineNumber instanceof ImmutableLineNumber) {
        return (ImmutableLineNumber)lineNumber;
    }
    return new ImmutableLineNumber(
            lineNumber.getCodeAddress(),
            lineNumber.getLineNumber());
}
 
Example 5
Source File: LineNumberMethodItem.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) {
    super(codeAddress, sortOrder);
    this.lineNumber = lineNumber.getLineNumber();
}
 
Example 6
Source File: LineNumberMethodItem.java    From atlas with Apache License 2.0 4 votes vote down vote up
public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) {
    super(codeAddress, sortOrder);
    this.lineNumber = lineNumber.getLineNumber();
}
 
Example 7
Source File: LineNumberMethodItem.java    From zjdroid with Apache License 2.0 4 votes vote down vote up
public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) {
    super(codeAddress, sortOrder);
    this.lineNumber = lineNumber.getLineNumber();
}
 
Example 8
Source File: LineNumberMethodItem.java    From HeyGirl with Apache License 2.0 4 votes vote down vote up
public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) {
    super(codeAddress, sortOrder);
    this.lineNumber = lineNumber.getLineNumber();
}
 
Example 9
Source File: LineNumberMethodItem.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public LineNumberMethodItem(int codeAddress, int sortOrder, @Nonnull LineNumber lineNumber) {
    super(codeAddress, sortOrder);
    this.lineNumber = lineNumber.getLineNumber();
}