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

The following examples show how to use org.jf.dexlib2.util.Preconditions#checkByteRegister() . 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: BuilderInstruction31i.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction31i(@Nonnull Opcode opcode,
                             int registerA,
                             int literal) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.literal = literal;
}
 
Example 2
Source File: ImmutableInstruction31c.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction31c(@Nonnull Opcode opcode,
                               int registerA,
                               @Nonnull Reference reference) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
}
 
Example 3
Source File: ImmutableInstruction21ih.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction21ih(@Nonnull Opcode opcode,
                                int registerA,
                                int literal) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.literal = Preconditions.checkIntegerHatLiteral(literal);
}
 
Example 4
Source File: BuilderInstruction23x.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction23x(@Nonnull Opcode opcode,
                             int registerA,
                             int registerB,
                             int registerC) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.registerB = Preconditions.checkByteRegister(registerB);
    this.registerC = Preconditions.checkByteRegister(registerC);
}
 
Example 5
Source File: BuilderInstruction23x.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction23x(@Nonnull Opcode opcode,
                             int registerA,
                             int registerB,
                             int registerC) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.registerB = Preconditions.checkByteRegister(registerB);
    this.registerC = Preconditions.checkByteRegister(registerC);
}
 
Example 6
Source File: ImmutableInstruction31c.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction31c(@Nonnull Opcode opcode,
                               int registerA,
                               @Nonnull Reference reference) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
}
 
Example 7
Source File: ImmutableInstruction51l.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction51l(@Nonnull Opcode opcode,
                               int registerA,
                               long literal) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.literal = literal;
}
 
Example 8
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 9
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 10
Source File: ImmutableInstruction31t.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction31t(@Nonnull Opcode opcode,
                               int registerA,
                               int codeOffset) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.codeOffset = codeOffset;
}
 
Example 11
Source File: BuilderInstruction21c.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction21c(@Nonnull Opcode opcode,
                             int registerA,
                             @Nonnull Reference reference) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.reference = reference;
}
 
Example 12
Source File: BuilderInstruction21c.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction21c(@Nonnull Opcode opcode,
                             int registerA,
                             @Nonnull Reference reference) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.reference = reference;
}
 
Example 13
Source File: ImmutableInstruction51l.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction51l(@Nonnull Opcode opcode,
                               int registerA,
                               long literal) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.literal = literal;
}
 
Example 14
Source File: BuilderInstruction22b.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction22b(@Nonnull Opcode opcode,
                             int registerA,
                             int registerB,
                             int literal) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.registerB = Preconditions.checkByteRegister(registerB);
    this.literal = Preconditions.checkByteLiteral(literal);
}
 
Example 15
Source File: BuilderInstruction51l.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction51l(@Nonnull Opcode opcode,
                             int registerA,
                             long literal) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
    this.literal = literal;
}
 
Example 16
Source File: BuilderInstruction11x.java    From zjdroid with Apache License 2.0 4 votes vote down vote up
public BuilderInstruction11x(@Nonnull Opcode opcode,
                             int registerA) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
}
 
Example 17
Source File: ImmutableInstruction11x.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public ImmutableInstruction11x(@Nonnull Opcode opcode,
                               int registerA) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
}
 
Example 18
Source File: BuilderInstruction31t.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public BuilderInstruction31t(@Nonnull Opcode opcode,
                             int registerA,
                             @Nonnull Label target) {
    super(opcode, target);
    this.registerA = Preconditions.checkByteRegister(registerA);
}
 
Example 19
Source File: BuilderInstruction11x.java    From ZjDroid with Apache License 2.0 4 votes vote down vote up
public BuilderInstruction11x(@Nonnull Opcode opcode,
                             int registerA) {
    super(opcode);
    this.registerA = Preconditions.checkByteRegister(registerA);
}
 
Example 20
Source File: BuilderInstruction31t.java    From HeyGirl with Apache License 2.0 4 votes vote down vote up
public BuilderInstruction31t(@Nonnull Opcode opcode,
                             int registerA,
                             @Nonnull Label target) {
    super(opcode, target);
    this.registerA = Preconditions.checkByteRegister(registerA);
}