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

The following examples show how to use org.jf.dexlib2.util.Preconditions#checkRegisterRangeCount() . 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: ImmutableInstruction3rms.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rms(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int vtableIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex);
}
 
Example 2
Source File: ImmutableInstruction3rmi.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rmi(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int inlineIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex);
}
 
Example 3
Source File: ImmutableInstruction3rc.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rc(@Nonnull Opcode opcode,
                               int startRegister,
                               int registerCount,
                               @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
}
 
Example 4
Source File: BuilderInstruction3rc.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction3rc(@Nonnull Opcode opcode,
                             int startRegister,
                             int registerCount,
                             @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = reference;
}
 
Example 5
Source File: ImmutableInstruction3rms.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rms(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int vtableIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex);
}
 
Example 6
Source File: ImmutableInstruction3rmi.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rmi(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int inlineIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex);
}
 
Example 7
Source File: ImmutableInstruction3rc.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rc(@Nonnull Opcode opcode,
                               int startRegister,
                               int registerCount,
                               @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
}
 
Example 8
Source File: BuilderInstruction3rc.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction3rc(@Nonnull Opcode opcode,
                             int startRegister,
                             int registerCount,
                             @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = reference;
}
 
Example 9
Source File: ImmutableInstruction3rms.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rms(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int vtableIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex);
}
 
Example 10
Source File: ImmutableInstruction3rmi.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rmi(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int inlineIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex);
}
 
Example 11
Source File: ImmutableInstruction3rc.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rc(@Nonnull Opcode opcode,
                               int startRegister,
                               int registerCount,
                               @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
}
 
Example 12
Source File: BuilderInstruction3rc.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction3rc(@Nonnull Opcode opcode,
                             int startRegister,
                             int registerCount,
                             @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = reference;
}
 
Example 13
Source File: ImmutableInstruction3rms.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rms(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int vtableIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.vtableIndex = Preconditions.checkVtableIndex(vtableIndex);
}
 
Example 14
Source File: ImmutableInstruction3rmi.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rmi(@Nonnull Opcode opcode,
                                int startRegister,
                                int registerCount,
                                int inlineIndex) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.inlineIndex = Preconditions.checkInlineIndex(inlineIndex);
}
 
Example 15
Source File: ImmutableInstruction3rc.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableInstruction3rc(@Nonnull Opcode opcode,
                               int startRegister,
                               int registerCount,
                               @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = ImmutableReferenceFactory.of(opcode.referenceType, reference);
}
 
Example 16
Source File: BuilderInstruction3rc.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public BuilderInstruction3rc(@Nonnull Opcode opcode,
                             int startRegister,
                             int registerCount,
                             @Nonnull Reference reference) {
    super(opcode);
    this.startRegister = Preconditions.checkShortRegister(startRegister);
    this.registerCount = Preconditions.checkRegisterRangeCount(registerCount);
    this.reference = reference;
}