Java Code Examples for org.jf.dexlib2.iface.instruction.formats.Instruction22c#getReference()

The following examples show how to use org.jf.dexlib2.iface.instruction.formats.Instruction22c#getReference() . 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: ImmutableInstruction22c.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction22c of(Instruction22c instruction) {
    if (instruction instanceof ImmutableInstruction22c) {
        return (ImmutableInstruction22c)instruction;
    }
    return new ImmutableInstruction22c(
            instruction.getOpcode(),
            instruction.getRegisterA(),
            instruction.getRegisterB(),
            instruction.getReference());
}
 
Example 2
Source File: ImmutableInstruction22c.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction22c of(Instruction22c instruction) {
    if (instruction instanceof ImmutableInstruction22c) {
        return (ImmutableInstruction22c)instruction;
    }
    return new ImmutableInstruction22c(
            instruction.getOpcode(),
            instruction.getRegisterA(),
            instruction.getRegisterB(),
            instruction.getReference());
}
 
Example 3
Source File: ImmutableInstruction22c.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction22c of(Instruction22c instruction) {
    if (instruction instanceof ImmutableInstruction22c) {
        return (ImmutableInstruction22c)instruction;
    }
    return new ImmutableInstruction22c(
            instruction.getOpcode(),
            instruction.getRegisterA(),
            instruction.getRegisterB(),
            instruction.getReference());
}
 
Example 4
Source File: ImmutableInstruction22c.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public static ImmutableInstruction22c of(Instruction22c instruction) {
    if (instruction instanceof ImmutableInstruction22c) {
        return (ImmutableInstruction22c)instruction;
    }
    return new ImmutableInstruction22c(
            instruction.getOpcode(),
            instruction.getRegisterA(),
            instruction.getRegisterB(),
            instruction.getReference());
}