proguard.evaluation
Interface BranchUnit

All Known Implementing Classes:
BasicBranchUnit

public interface BranchUnit

This InstructionVisitor evaluates the instructions that it visits.


Method Summary
 void branch(Clazz clazz, CodeAttribute codeAttribute, int offset, int branchTarget)
          Sets the new instruction offset.
 void branchConditionally(Clazz clazz, CodeAttribute codeAttribute, int offset, int branchTarget, int conditional)
          Sets the new instruction offset, depending on the certainty of the conditional branch.
 void returnFromMethod()
          Returns from the method with the given value.
 void throwException()
          Handles the throwing of an exception.
 

Method Detail

branch

void branch(Clazz clazz,
            CodeAttribute codeAttribute,
            int offset,
            int branchTarget)
Sets the new instruction offset.


branchConditionally

void branchConditionally(Clazz clazz,
                         CodeAttribute codeAttribute,
                         int offset,
                         int branchTarget,
                         int conditional)
Sets the new instruction offset, depending on the certainty of the conditional branch.


returnFromMethod

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


throwException

void throwException()
Handles the throwing of an exception.