public interface Jumpable
What's the jump in jvm instruction. such as : if_xxx, ifxx instruction.
| 限定符和类型 | 方法和说明 |
|---|---|
void |
jumpNegative(KernelParam from,
cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl,
cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
To execute negative jump and generate relevant byte code.
|
void |
jumpPositive(KernelParam from,
cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl,
cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
To execute positive jump and generate relevant byte code.
|
void jumpPositive(KernelParam from, cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl, cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
To execute positive jump and generate relevant byte code.
For example : the operator '1 == 1' then the positive jump is if_icmpeq.
the operator 'if(isTrue()){ ... }'(here we suppose the method isTrue)
return boolean value, then the positive jump is ifne
from - posLbl - negLbl - void jumpNegative(KernelParam from, cn.wensiqun.asmsupport.org.objectweb.asm.Label posLbl, cn.wensiqun.asmsupport.org.objectweb.asm.Label negLbl)
To execute negative jump and generate relevant byte code.
For example : the operator '1 == 1' then the negative jump is if_icmpne.
the operator 'if(isTrue()){ ... }'(here we suppose the method isTrue)
return boolean value, then the positive jump is ifeq
from - posLbl - negLbl - Copyright © 2015. All rights reserved.