Java Code Examples for org.jf.dexlib2.util.Preconditions#checkShortCodeOffset()

The following examples show how to use org.jf.dexlib2.util.Preconditions#checkShortCodeOffset() . 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: ImmutableInstruction21t.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction21t(@Nonnull Opcode opcode,
                               int registerA,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 2
Source File: ImmutableInstruction22t.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction22t(@Nonnull Opcode opcode,
                               int registerA,
                               int registerB,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkNibbleRegister(registerA);
    this.registerB = Preconditions.checkNibbleRegister(registerB);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 3
Source File: ImmutableInstruction21t.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction21t(@Nonnull Opcode opcode,
                               int registerA,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 4
Source File: ImmutableInstruction22t.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction22t(@Nonnull Opcode opcode,
                               int registerA,
                               int registerB,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkNibbleRegister(registerA);
    this.registerB = Preconditions.checkNibbleRegister(registerB);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 5
Source File: ImmutableInstruction21t.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction21t(@Nonnull Opcode opcode,
                               int registerA,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 6
Source File: ImmutableInstruction22t.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction22t(@Nonnull Opcode opcode,
                               int registerA,
                               int registerB,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkNibbleRegister(registerA);
    this.registerB = Preconditions.checkNibbleRegister(registerB);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 7
Source File: ImmutableInstruction21t.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction21t(@Nonnull Opcode opcode,
                               int registerA,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 8
Source File: ImmutableInstruction22t.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction22t(@Nonnull Opcode opcode,
                               int registerA,
                               int registerB,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkNibbleRegister(registerA);
    this.registerB = Preconditions.checkNibbleRegister(registerB);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 9
Source File: ImmutableInstruction20t.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public ImmutableInstruction20t(@Nonnull Opcode opcode,
                               int codeOffset) {
    super(opcode);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 10
Source File: ImmutableInstruction20t.java    From zjdroid with Apache License 2.0 4 votes vote down vote up
public ImmutableInstruction20t(@Nonnull Opcode opcode,
                               int codeOffset) {
    super(opcode);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 11
Source File: ImmutableInstruction20t.java    From HeyGirl with Apache License 2.0 4 votes vote down vote up
public ImmutableInstruction20t(@Nonnull Opcode opcode,
                               int codeOffset) {
    super(opcode);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}
 
Example 12
Source File: ImmutableInstruction20t.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public ImmutableInstruction20t(@Nonnull Opcode opcode,
                               int codeOffset) {
    super(opcode);
    this.codeOffset = Preconditions.checkShortCodeOffset(codeOffset);
}