本文整理匯總了Java中org.jf.dexlib2.builder.instruction.BuilderInstruction21t類的典型用法代碼示例。如果您正苦於以下問題:Java BuilderInstruction21t類的具體用法?Java BuilderInstruction21t怎麽用?Java BuilderInstruction21t使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
BuilderInstruction21t類屬於org.jf.dexlib2.builder.instruction包,在下文中一共展示了BuilderInstruction21t類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: newBuilderInstruction21t
import org.jf.dexlib2.builder.instruction.BuilderInstruction21t; //導入依賴的package包/類
@Nonnull
private BuilderInstruction21t newBuilderInstruction21t(int codeAddress, int[] codeAddressToIndex,
@Nonnull Instruction21t instruction) {
return new BuilderInstruction21t(
instruction.getOpcode(),
instruction.getRegisterA(),
newLabel(codeAddressToIndex, codeAddress + instruction.getCodeOffset()));
}
示例2: getRealInsn0
import org.jf.dexlib2.builder.instruction.BuilderInstruction21t; //導入依賴的package包/類
@Override
protected BuilderInstruction getRealInsn0(LabelAssigner assigner) {
return new BuilderInstruction21t(opc, (short) getRegA().getNumber(),
assigner.getOrCreateLabel(target));
}