public class ExceptionChecker extends BodyTransformer
Constructor and Description |
---|
ExceptionChecker(ExceptionCheckerErrorReporter r) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkInvoke(Body b,
InvokeStmt is) |
protected void |
checkInvokeExpr(Body b,
InvokeExpr ie,
Stmt s) |
protected void |
checkThrow(Body b,
ThrowStmt ts) |
protected void |
internalTransform(Body b,
java.lang.String phaseName,
java.util.Map options)
This method is called to perform the transformation itself.
|
protected boolean |
isExceptionCaught(Body b,
Stmt s,
RefType throwType) |
protected boolean |
isThrowDeclared(Body b,
SootClass throwClass) |
protected boolean |
isThrowFromCompiler(ThrowStmt ts) |
protected boolean |
isThrowInStmtRange(Body b,
Stmt begin,
Stmt end,
Stmt s) |
transform, transform, transform
public ExceptionChecker(ExceptionCheckerErrorReporter r)
protected void internalTransform(Body b, java.lang.String phaseName, java.util.Map options)
BodyTransformer
internalTransform
in class BodyTransformer
b
- the body on which to apply the transformationphaseName
- the phasename for this transform; not typically used by implementations.options
- the actual computed options; a combination of default options and Scene specified options.protected boolean isThrowFromCompiler(ThrowStmt ts)
protected void checkInvoke(Body b, InvokeStmt is)
protected void checkInvokeExpr(Body b, InvokeExpr ie, Stmt s)