Java Code Examples for org.jf.dexlib2.util.Preconditions#check35cRegisterCount()
The following examples show how to use
org.jf.dexlib2.util.Preconditions#check35cRegisterCount() .
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: ImmutableInstruction35ms.java From ZjDroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35ms(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int vtableIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex); }
Example 2
Source File: ImmutableInstruction35c.java From ZjDroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); }
Example 3
Source File: ImmutableInstruction35mi.java From ZjDroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35mi(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int inlineIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
Example 4
Source File: BuilderInstruction35c.java From ZjDroid with Apache License 2.0 | 6 votes |
public BuilderInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = reference; }
Example 5
Source File: ImmutableInstruction35ms.java From zjdroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35ms(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int vtableIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex); }
Example 6
Source File: ImmutableInstruction35c.java From zjdroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); }
Example 7
Source File: ImmutableInstruction35mi.java From zjdroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35mi(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int inlineIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
Example 8
Source File: BuilderInstruction35c.java From zjdroid with Apache License 2.0 | 6 votes |
public BuilderInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = reference; }
Example 9
Source File: ImmutableInstruction35ms.java From HeyGirl with Apache License 2.0 | 6 votes |
public ImmutableInstruction35ms(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int vtableIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex); }
Example 10
Source File: ImmutableInstruction35c.java From HeyGirl with Apache License 2.0 | 6 votes |
public ImmutableInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); }
Example 11
Source File: ImmutableInstruction35mi.java From HeyGirl with Apache License 2.0 | 6 votes |
public ImmutableInstruction35mi(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int inlineIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
Example 12
Source File: BuilderInstruction35c.java From HeyGirl with Apache License 2.0 | 6 votes |
public BuilderInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = reference; }
Example 13
Source File: ImmutableInstruction35ms.java From ZjDroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35ms(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int vtableIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex); }
Example 14
Source File: ImmutableInstruction35c.java From ZjDroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference); }
Example 15
Source File: ImmutableInstruction35mi.java From ZjDroid with Apache License 2.0 | 6 votes |
public ImmutableInstruction35mi(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, int inlineIndex) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex); }
Example 16
Source File: BuilderInstruction35c.java From ZjDroid with Apache License 2.0 | 6 votes |
public BuilderInstruction35c(@Nonnull Opcode opcode, int registerCount, int registerC, int registerD, int registerE, int registerF, int registerG, @Nonnull Reference reference) { super(opcode); this.registerCount = Preconditions.check35cRegisterCount(registerCount); this.registerC = (registerCount>0) ? Preconditions.checkNibbleRegister(registerC) : 0; this.registerD = (registerCount>1) ? Preconditions.checkNibbleRegister(registerD) : 0; this.registerE = (registerCount>2) ? Preconditions.checkNibbleRegister(registerE) : 0; this.registerF = (registerCount>3) ? Preconditions.checkNibbleRegister(registerF) : 0; this.registerG = (registerCount>4) ? Preconditions.checkNibbleRegister(registerG) : 0; this.reference = reference; }