Example #1
0
 public Assembler arrayStore(Type type) {
   mv.visitInsn(type.getOpcode(IASTORE));
   return this;
 }
Example #2
0
 public Assembler storeLocal(Type type, int index) {
   mv.visitVarInsn(type.getOpcode(ISTORE), index);
   return this;
 }
Example #3
0
 public Assembler arrayLoad(Type type) {
   mv.visitInsn(type.getOpcode(IALOAD));
   return this;
 }
Example #4
0
 public Assembler loadLocal(Type type, int index) {
   mv.visitVarInsn(type.getOpcode(ILOAD), index);
   return this;
 }