Package soot.toolkits.graph
Class ExceptionalUnitGraph.ExceptionDest
- java.lang.Object
-
- soot.toolkits.graph.ExceptionalUnitGraph.ExceptionDest
-
- All Implemented Interfaces:
ExceptionalGraph.ExceptionDest<Unit>
- Enclosing class:
- ExceptionalUnitGraph
public static class ExceptionalUnitGraph.ExceptionDest extends Object implements ExceptionalGraph.ExceptionDest<Unit>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExceptionDest(Trap trap, ThrowableSet throwables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)UnitgetHandlerNode()Returns the CFG node corresponding to the beginning of the exception handler that catches the exceptions (that is, the node that includes {@link trap().getBeginUnit()}).ThrowableSetgetThrowables()Returns the exceptions thrown to this destination.TrapgetTrap()Returns the trap corresponding to this destination.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ExceptionDest
protected ExceptionDest(Trap trap, ThrowableSet throwables)
-
-
Method Detail
-
getTrap
public Trap getTrap()
Description copied from interface:ExceptionalGraph.ExceptionDestReturns the trap corresponding to this destination.- Specified by:
getTrapin interfaceExceptionalGraph.ExceptionDest<Unit>- Returns:
- either a
Traprepresenting the handler that catches the exceptions, if there is such a handler within the method, ornullif there is no such handler and the exceptions cause the method to terminate abruptly.
-
getThrowables
public ThrowableSet getThrowables()
Description copied from interface:ExceptionalGraph.ExceptionDestReturns the exceptions thrown to this destination.- Specified by:
getThrowablesin interfaceExceptionalGraph.ExceptionDest<Unit>- Returns:
- a
ThrowableSetrepresenting the exceptions which may be caught by thisExceptionDest's trap.
-
getHandlerNode
public Unit getHandlerNode()
Description copied from interface:ExceptionalGraph.ExceptionDestReturns the CFG node corresponding to the beginning of the exception handler that catches the exceptions (that is, the node that includes {@link trap().getBeginUnit()}).- Specified by:
getHandlerNodein interfaceExceptionalGraph.ExceptionDest<Unit>- Returns:
- the node in this graph which represents the beginning of the handler which catches these exceptions, or
nullif there is no such handler and the exceptions cause the method to terminate abruptly.
-
-