Java: enable exception characteristic also for source candidates

This commit is contained in:
Stephan Brandauer
2023-09-05 16:49:42 +02:00
parent a526b79211
commit afc5aedd0a

View File

@@ -329,7 +329,6 @@ private class ExceptionCharacteristic extends CharacteristicsImpl::NotASinkChara
ExceptionCharacteristic() { this = "exception" }
override predicate appliesToEndpoint(Endpoint e) {
e.getExtensibleType() = "sinkModel" and
ApplicationModeGetCallable::getCallable(e).getDeclaringType().getASupertype*() instanceof
TypeThrowable
}