public class ExceptionalCheckBasedYield extends ExceptionalYield
Constructor and Description |
---|
ExceptionalCheckBasedYield(SymbolicValue svCausingException,
String exceptionType,
Class<? extends SECheck> check,
ExplodedGraph.Node node,
MethodBehavior behavior) |
Modifier and Type | Method and Description |
---|---|
Class<? extends SECheck> |
check() |
boolean |
equals(Object obj) |
Set<Flow> |
exceptionFlows() |
Type |
exceptionType(SemanticModel semanticModel) |
Set<Flow> |
flow(List<Integer> parameterIndices,
List<Class<? extends Constraint>> domains) |
boolean |
generatedByCheck(SECheck check) |
int |
hashCode() |
int |
parameterCausingExceptionIndex() |
void |
setExceptionType(String exceptionType) |
Stream<ProgramState> |
statesAfterInvocation(List<SymbolicValue> invocationArguments,
List<Type> invocationTypes,
ProgramState programState,
Supplier<SymbolicValue> svSupplier) |
String |
toString() |
methodBehavior, parametersAfterInvocation
public ExceptionalCheckBasedYield(SymbolicValue svCausingException, String exceptionType, Class<? extends SECheck> check, ExplodedGraph.Node node, MethodBehavior behavior)
public Stream<ProgramState> statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)
statesAfterInvocation
in class ExceptionalYield
public void setExceptionType(String exceptionType)
setExceptionType
in class ExceptionalYield
@Nonnull public Type exceptionType(SemanticModel semanticModel)
exceptionType
in class ExceptionalYield
public String toString()
toString
in class ExceptionalYield
public int hashCode()
hashCode
in class ExceptionalYield
public Set<Flow> flow(List<Integer> parameterIndices, List<Class<? extends Constraint>> domains)
flow
in class MethodYield
public boolean equals(Object obj)
equals
in class ExceptionalYield
public boolean generatedByCheck(SECheck check)
generatedByCheck
in class MethodYield
public int parameterCausingExceptionIndex()
Copyright © 2012–2017 SonarSource. All rights reserved.