mta.mining.ab
Class CleanupCallFinder

java.lang.Object
  extended bymta.mining.ab.CleanupCallFinder

public final class CleanupCallFinder
extends java.lang.Object

Finds calls made in "cleanup" blocks of code; that is, exception handlers and finally blocks.

Uses an instrumented ANTLR parser to identify such calls.

Author:
Alex Kinneer

Constructor Summary
CleanupCallFinder()
           
 
Method Summary
 void findCleanupCalls(java.util.List sourceFiles)
           
 boolean isCleanupCall(java.lang.String source, int line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CleanupCallFinder

public CleanupCallFinder()
Method Detail

isCleanupCall

public final boolean isCleanupCall(java.lang.String source,
                                   int line)
                            throws NoInformationException
Throws:
NoInformationException

findCleanupCalls

public final void findCleanupCalls(java.util.List sourceFiles)
                            throws ParserException
Throws:
ParserException