Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public AbstractInsnNode nextPattern(int... opcodes) {
  2. int begin = idx;
  3. for(int k = 0; k < opcodes.length; k++, idx++) {
  4. if(idx > instructions.length - 1) return null;
  5. if(instructions[idx] != opcodes[k]) return null;
  6. }
  7. return instructions[begin];
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement