예제 #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)