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

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