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>caughtCheckedprivate java.util.Set<JavaRefTypeInstance>caughtUncheckedprivate DCCommonStatedcCommonStateprivate booleanmightUseUncheckedprivate booleanmissingInfo
-
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 booleancheckAgainst(java.util.Set<? extends JavaTypeInstance> thrown)booleancheckAgainst(AbstractMemberFunctionInvokation functionInvokation)booleancheckAgainstException(Expression expression)private booleancheckAgainstInternal(java.util.Set<? extends JavaTypeInstance> thrown)booleanmightCatchUnchecked()
-
-
-
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:
checkAgainstin interfaceExceptionCheck
-
checkAgainst
public boolean checkAgainst(AbstractMemberFunctionInvokation functionInvokation)
- Specified by:
checkAgainstin interfaceExceptionCheck
-
checkAgainstException
public boolean checkAgainstException(Expression expression)
- Specified by:
checkAgainstExceptionin interfaceExceptionCheck
-
mightCatchUnchecked
public boolean mightCatchUnchecked()
- Specified by:
mightCatchUncheckedin interfaceExceptionCheck
-
-