示例#1
0
 def swap(self, label=''):
     self.insert_instruction(Instruction("swap"), label)
示例#2
0
 def athrow(self, label=''):
     self.insert_instruction(Instruction("athrow"), label)
示例#3
0
 def breakpoint(self, label=''):
     self.insert_instruction(Instruction("breakpoint"), label)
示例#4
0
 def aload_3(self, label=''):
     self.insert_instruction(Instruction("aload_3"), label)
示例#5
0
 def arraylength(self, label=''):
     self.insert_instruction(Instruction("arraylength"), label)
示例#6
0
 def putstatic(self, field: str, type_, label=''):
     self.insert_instruction(Instruction("putstatic", field, str(type_)), label)
示例#7
0
 def multianewarray(self, type_, dimensions: int, label=''):
     self.insert_instruction(Instruction("multianewarray", str(type_), dimensions), label)
示例#8
0
 def if_icmpne(self, to_br: str, label=''):
     self.insert_instruction(Instruction("if_icmpne", to_br), label)
示例#9
0
 def ifnull(self, to_br: str, label=''):
     self.insert_instruction(Instruction("ifnull", to_br), label)
示例#10
0
 def if_acmpeq(self, to_br: str, label=''):
     self.insert_instruction(Instruction("if_acmpeq", to_br), label)
示例#11
0
 def aconst_null(self, label=''):
     self.insert_instruction(Instruction("aconst_null"), label)
示例#12
0
 def goto(self, to_br: str, label=''):
     self.insert_instruction(Instruction("goto", to_br), label)
示例#13
0
 def iinc(self, variable_number: int, value: int, label=''):
     self.insert_instruction(Instruction("{i}", variable_number, value), label)
示例#14
0
 def sipush(self, value: int, label=''):
     self.insert_instruction(Instruction("sipush", value), label)
示例#15
0
 def invokeinterface(self, method: str, args: int, label=''):
     self.insert_instruction(Instruction("invokeinterface", method, args), label)
示例#16
0
 def jsr_w(self, to_br: str, label=''):
     self.insert_instruction(Instruction("jsr_w", to_br), label)
示例#17
0
 def getfield(self, field: str, type_, label=''):
     self.insert_instruction(Instruction("getfield", field, str(type_)), label)
示例#18
0
 def anewarray(self, cls: str, label=''):
     self.insert_instruction(Instruction("anewarray", cls), label)
示例#19
0
 def newarray(self, type_, label=''):
     self.insert_instruction(Instruction("newarray", str(type_)), label)
示例#20
0
 def checkcast(self, cls: str, label=''):
     self.insert_instruction(Instruction("checkcast", cls), label)
示例#21
0
 def ldc_w(self, constant, label=''):
     self.insert_instruction(Instruction("ldc_w", constant), label)
示例#22
0
 def instanceof(self, cls: str, label=''):
     self.insert_instruction(Instruction("instanceof", cls), label)
示例#23
0
 def areturn(self, label=''):
     self.insert_instruction(Instruction("areturn"), label)
示例#24
0
 def new(self, cls: str, label=''):
     self.insert_instruction(Instruction("new", cls), label)
示例#25
0
 def astore_3(self, label=''):
     self.insert_instruction(Instruction("astore_3"), label)
示例#26
0
 def invokestatic(self, method: str, label=''):
     self.insert_instruction(Instruction("invokestatic", method), label)
示例#27
0
 def bastore(self, label=''):
     self.insert_instruction(Instruction("bastore"), label)
示例#28
0
 def invokevirtual(self, method: str, label=''):
     self.insert_instruction(Instruction("invokevirtual", method), label)
示例#29
0
 def caload(self, label=''):
     self.insert_instruction(Instruction("caload"), label)
示例#30
0
 def return_(self, label=''):
     self.insert_instruction(Instruction("return"), label)