net.sf.jode.flow
Class TransformExceptionHandlers
java.lang.Object
net.sf.jode.flow.TransformExceptionHandlers
public class TransformExceptionHandlers
- extends Object
- Author:
- Jochen Hoenicke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformExceptionHandlers
public TransformExceptionHandlers(FlowBlock[] flowBlocks)
addHandler
public void addHandler(FlowBlock tryBlock,
FlowBlock endBlock,
FlowBlock catchBlock,
Type type)
- Add an exception Handler.
- Parameters:
tryBlock - The start block number of the exception range.endBlock - The end block number of the exception range + 1.catchBlock - The block number of the handler.type - The type of the exception, null for ALL.
analyze
public void analyze()
- Analyzes all exception handlers to try/catch/finally or
synchronized blocks.