org.jf.dexlib2.immutable.instruction.ImmutableInstruction Java Examples

The following examples show how to use org.jf.dexlib2.immutable.instruction.ImmutableInstruction. 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: ImmutableMethodImplementation.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable Iterable<? extends Instruction> instructions,
                                     @Nullable List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks,
                                     @Nullable Iterable<? extends DebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableInstruction.immutableListOf(instructions);
    this.tryBlocks = ImmutableTryBlock.immutableListOf(tryBlocks);
    this.debugItems = ImmutableDebugItem.immutableListOf(debugItems);
}
 
Example #2
Source File: ImmutableMethodImplementation.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable ImmutableList<? extends ImmutableInstruction> instructions,
                                     @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks,
                                     @Nullable ImmutableList<? extends ImmutableDebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableUtils.nullToEmptyList(instructions);
    this.tryBlocks = ImmutableUtils.nullToEmptyList(tryBlocks);
    this.debugItems = ImmutableUtils.nullToEmptyList(debugItems);
}
 
Example #3
Source File: ImmutableMethodImplementation.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable Iterable<? extends Instruction> instructions,
                                     @Nullable List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks,
                                     @Nullable Iterable<? extends DebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableInstruction.immutableListOf(instructions);
    this.tryBlocks = ImmutableTryBlock.immutableListOf(tryBlocks);
    this.debugItems = ImmutableDebugItem.immutableListOf(debugItems);
}
 
Example #4
Source File: ImmutableMethodImplementation.java    From zjdroid with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable ImmutableList<? extends ImmutableInstruction> instructions,
                                     @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks,
                                     @Nullable ImmutableList<? extends ImmutableDebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableUtils.nullToEmptyList(instructions);
    this.tryBlocks = ImmutableUtils.nullToEmptyList(tryBlocks);
    this.debugItems = ImmutableUtils.nullToEmptyList(debugItems);
}
 
Example #5
Source File: ImmutableMethodImplementation.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable Iterable<? extends Instruction> instructions,
                                     @Nullable List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks,
                                     @Nullable Iterable<? extends DebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableInstruction.immutableListOf(instructions);
    this.tryBlocks = ImmutableTryBlock.immutableListOf(tryBlocks);
    this.debugItems = ImmutableDebugItem.immutableListOf(debugItems);
}
 
Example #6
Source File: ImmutableMethodImplementation.java    From HeyGirl with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable ImmutableList<? extends ImmutableInstruction> instructions,
                                     @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks,
                                     @Nullable ImmutableList<? extends ImmutableDebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableUtils.nullToEmptyList(instructions);
    this.tryBlocks = ImmutableUtils.nullToEmptyList(tryBlocks);
    this.debugItems = ImmutableUtils.nullToEmptyList(debugItems);
}
 
Example #7
Source File: ImmutableMethodImplementation.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable Iterable<? extends Instruction> instructions,
                                     @Nullable List<? extends TryBlock<? extends ExceptionHandler>> tryBlocks,
                                     @Nullable Iterable<? extends DebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableInstruction.immutableListOf(instructions);
    this.tryBlocks = ImmutableTryBlock.immutableListOf(tryBlocks);
    this.debugItems = ImmutableDebugItem.immutableListOf(debugItems);
}
 
Example #8
Source File: ImmutableMethodImplementation.java    From ZjDroid with Apache License 2.0 5 votes vote down vote up
public ImmutableMethodImplementation(int registerCount,
                                     @Nullable ImmutableList<? extends ImmutableInstruction> instructions,
                                     @Nullable ImmutableList<? extends ImmutableTryBlock> tryBlocks,
                                     @Nullable ImmutableList<? extends ImmutableDebugItem> debugItems) {
    this.registerCount = registerCount;
    this.instructions = ImmutableUtils.nullToEmptyList(instructions);
    this.tryBlocks = ImmutableUtils.nullToEmptyList(tryBlocks);
    this.debugItems = ImmutableUtils.nullToEmptyList(debugItems);
}
 
Example #9
Source File: ImmutableMethodImplementation.java    From ZjDroid with Apache License 2.0 votes vote down vote up
@Nonnull @Override public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; } 
Example #10
Source File: ImmutableMethodImplementation.java    From zjdroid with Apache License 2.0 votes vote down vote up
@Nonnull @Override public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; } 
Example #11
Source File: ImmutableMethodImplementation.java    From HeyGirl with Apache License 2.0 votes vote down vote up
@Nonnull @Override public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; } 
Example #12
Source File: ImmutableMethodImplementation.java    From ZjDroid with Apache License 2.0 votes vote down vote up
@Nonnull @Override public ImmutableList<? extends ImmutableInstruction> getInstructions() { return instructions; }