Class ExceptionCheckImpl
- java.lang.Object
-
- org.benf.cfr.reader.entities.exceptions.ExceptionCheckImpl
-
- All Implemented Interfaces:
ExceptionCheck
public class ExceptionCheckImpl extends java.lang.Object implements ExceptionCheck
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<JavaRefTypeInstance>
caughtChecked
private java.util.Set<JavaRefTypeInstance>
caughtUnchecked
private DCCommonState
dcCommonState
private boolean
mightUseUnchecked
private boolean
missingInfo
-
Constructor Summary
Constructors Constructor Description ExceptionCheckImpl(DCCommonState dcCommonState, java.util.Set<JavaRefTypeInstance> caught)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkAgainst(java.util.Set<? extends JavaTypeInstance> thrown)
boolean
checkAgainst(AbstractMemberFunctionInvokation functionInvokation)
boolean
checkAgainstException(Expression expression)
private boolean
checkAgainstInternal(java.util.Set<? extends JavaTypeInstance> thrown)
boolean
mightCatchUnchecked()
-
-
-
Field Detail
-
caughtChecked
private final java.util.Set<JavaRefTypeInstance> caughtChecked
-
caughtUnchecked
private final java.util.Set<JavaRefTypeInstance> caughtUnchecked
-
mightUseUnchecked
private final boolean mightUseUnchecked
-
missingInfo
private final boolean missingInfo
-
dcCommonState
private final DCCommonState dcCommonState
-
-
Constructor Detail
-
ExceptionCheckImpl
public ExceptionCheckImpl(DCCommonState dcCommonState, java.util.Set<JavaRefTypeInstance> caught)
-
-
Method Detail
-
checkAgainstInternal
private boolean checkAgainstInternal(java.util.Set<? extends JavaTypeInstance> thrown)
-
checkAgainst
public boolean checkAgainst(java.util.Set<? extends JavaTypeInstance> thrown)
- Specified by:
checkAgainst
in interfaceExceptionCheck
-
checkAgainst
public boolean checkAgainst(AbstractMemberFunctionInvokation functionInvokation)
- Specified by:
checkAgainst
in interfaceExceptionCheck
-
checkAgainstException
public boolean checkAgainstException(Expression expression)
- Specified by:
checkAgainstException
in interfaceExceptionCheck
-
mightCatchUnchecked
public boolean mightCatchUnchecked()
- Specified by:
mightCatchUnchecked
in interfaceExceptionCheck
-
-