|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Compiler.Analysis.IPA.ExceptionAnalysis
public class ExceptionAnalysis
Uses a call graph to figure out what exceptions can be thrown by a method invocation.
Constructor Summary | |
---|---|
ExceptionAnalysis(CallGraph cg)
Construct exception analysis using the given call graph. |
Method Summary | |
---|---|
Set |
getThrownExceptions(jq_Method method)
Return the set of exception types that can be thrown by this method. |
Set |
getThrownExceptions(ProgramLocation callSite)
Return the set of exception types that can be thrown by this call. |
boolean |
getThrownExceptions(ProgramLocation callSite,
Set s,
ExceptionHandlerList ex)
Add the set of exception types that can be thrown by this call and that are not caught by the given exception handlers to the given set. |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionAnalysis(CallGraph cg)
Method Detail |
---|
public Set getThrownExceptions(ProgramLocation callSite)
callSite
- call site
public boolean getThrownExceptions(ProgramLocation callSite, Set s, ExceptionHandlerList ex)
callSite
- call sites
- setex
- exception handler list
public Set getThrownExceptions(jq_Method method)
method
-
public static void main(String[] args) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |