Class ArrayOutOfBoundFilter
java.lang.Object
com.ibm.wala.ipa.cfg.exceptionpruning.filter.ArrayOutOfBoundFilter
- All Implemented Interfaces:
ExceptionFilter<SSAInstruction>
Adapter for using
ArrayOutOfBoundsAnalysis
. This filter is filtering
ArrayOutOfBoundException, which can not occur.- Author:
- Stephan Gocht
<stephan@gobro.de>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
alwaysThrowsException
(SSAInstruction instruction) filteredExceptions
(SSAInstruction instruction)
-
Constructor Details
-
ArrayOutOfBoundFilter
-
-
Method Details
-
alwaysThrowsException
- Specified by:
alwaysThrowsException
in interfaceExceptionFilter<SSAInstruction>
- Returns:
- if the instruction does always throw an exception
-
filteredExceptions
- Specified by:
filteredExceptions
in interfaceExceptionFilter<SSAInstruction>
- Returns:
- a list of exceptions, which have to be filtered for the given instruction
-