Package org.sonar.java.se.xproc
Class ExceptionalCheckBasedYield
java.lang.Object
org.sonar.java.se.xproc.MethodYield
org.sonar.java.se.xproc.ExceptionalYield
org.sonar.java.se.xproc.ExceptionalCheckBasedYield
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionalCheckBasedYield(SymbolicValue svCausingException, String exceptionType, Class<? extends SECheck> check, ExplodedGraph.Node node, MethodBehavior behavior) -
Method Summary
Modifier and TypeMethodDescriptioncheck()booleanexceptionFlows(int maxReturnedFlows) exceptionType(Sema semanticModel) flow(List<Integer> parameterIndices, List<Class<? extends Constraint>> domains, int maxReturnedFlows) booleangeneratedByCheck(SECheck check) inthashCode()intvoidsetExceptionType(String exceptionType) statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier) toString()Methods inherited from class org.sonar.java.se.xproc.ExceptionalYield
getExceptionTypeMethods inherited from class org.sonar.java.se.xproc.MethodYield
methodBehavior, parametersAfterInvocation
-
Constructor Details
-
ExceptionalCheckBasedYield
public ExceptionalCheckBasedYield(SymbolicValue svCausingException, String exceptionType, Class<? extends SECheck> check, ExplodedGraph.Node node, MethodBehavior behavior)
-
-
Method Details
-
statesAfterInvocation
public Stream<ProgramState> statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier) - Overrides:
statesAfterInvocationin classExceptionalYield
-
setExceptionType
- Overrides:
setExceptionTypein classExceptionalYield
-
exceptionType
- Overrides:
exceptionTypein classExceptionalYield
-
check
-
toString
- Overrides:
toStringin classExceptionalYield
-
hashCode
public int hashCode()- Overrides:
hashCodein classExceptionalYield
-
flow
public Set<Flow> flow(List<Integer> parameterIndices, List<Class<? extends Constraint>> domains, int maxReturnedFlows) - Overrides:
flowin classMethodYield
-
exceptionFlows
-
equals
- Overrides:
equalsin classExceptionalYield
-
generatedByCheck
- Overrides:
generatedByCheckin classMethodYield
-
parameterCausingExceptionIndex
public int parameterCausingExceptionIndex()
-