ProGuard

proguard.optimize.evaluation
Interface BranchUnit


public interface BranchUnit

This InstructionVisitor evaluates the instructions that it visits.


Method Summary
 void branch(ClassFile classFile, CodeAttrInfo codeAttrInfo, int offset, int branchTarget)
          Sets the new instruction offset.
 void branchConditionally(ClassFile classFile, CodeAttrInfo codeAttrInfo, int offset, int branchTarget, int conditional)
          Sets the new instruction offset, depending on the certainty of the conditional branch.
 void returnFromMethod(Value returnValue)
          Returns from the method with the given value.
 void throwException()
          Handles the throwing of an exception.
 

Method Detail

branch

public void branch(ClassFile classFile,
                   CodeAttrInfo codeAttrInfo,
                   int offset,
                   int branchTarget)
Sets the new instruction offset.


branchConditionally

public void branchConditionally(ClassFile classFile,
                                CodeAttrInfo codeAttrInfo,
                                int offset,
                                int branchTarget,
                                int conditional)
Sets the new instruction offset, depending on the certainty of the conditional branch.


returnFromMethod

public void returnFromMethod(Value returnValue)
Returns from the method with the given value.


throwException

public void throwException()
Handles the throwing of an exception.


ProGuard