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
-
public class ExceptionalCheckBasedYield extends ExceptionalYield
-
-
Constructor Summary
Constructors Constructor Description ExceptionalCheckBasedYield(SymbolicValue svCausingException, String exceptionType, Class<? extends SECheck> check, ExplodedGraph.Node node, MethodBehavior behavior)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends SECheck>check()booleanequals(Object obj)Set<Flow>exceptionFlows()TypeexceptionType(Sema semanticModel)Set<Flow>flow(List<Integer> parameterIndices, List<Class<? extends Constraint>> domains)booleangeneratedByCheck(SECheck check)inthashCode()intparameterCausingExceptionIndex()voidsetExceptionType(String exceptionType)Stream<ProgramState>statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)StringtoString()-
Methods inherited from class org.sonar.java.se.xproc.MethodYield
methodBehavior, parametersAfterInvocation
-
-
-
-
Constructor Detail
-
ExceptionalCheckBasedYield
public ExceptionalCheckBasedYield(SymbolicValue svCausingException, String exceptionType, Class<? extends SECheck> check, ExplodedGraph.Node node, MethodBehavior behavior)
-
-
Method Detail
-
statesAfterInvocation
public Stream<ProgramState> statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)
- Overrides:
statesAfterInvocationin classExceptionalYield
-
setExceptionType
public void setExceptionType(String exceptionType)
- Overrides:
setExceptionTypein classExceptionalYield
-
exceptionType
@Nonnull public Type exceptionType(Sema semanticModel)
- Overrides:
exceptionTypein classExceptionalYield
-
toString
public String toString()
- Overrides:
toStringin classExceptionalYield
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExceptionalYield
-
flow
public Set<Flow> flow(List<Integer> parameterIndices, List<Class<? extends Constraint>> domains)
- Overrides:
flowin classMethodYield
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classExceptionalYield
-
generatedByCheck
public boolean generatedByCheck(SECheck check)
- Overrides:
generatedByCheckin classMethodYield
-
parameterCausingExceptionIndex
public int parameterCausingExceptionIndex()
-
-