mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
Java automodel: also drop boxed types and number types from endpoints
This commit is contained in:
@@ -24,7 +24,11 @@ newtype JavaRelatedLocationType =
|
||||
ClassDoc()
|
||||
|
||||
newtype TFrameworkModeEndpoint =
|
||||
TExplicitParameter(Parameter p) { not p.getType() instanceof PrimitiveType } or
|
||||
TExplicitParameter(Parameter p) {
|
||||
not p.getType() instanceof PrimitiveType and
|
||||
not p.getType() instanceof BoxedType and
|
||||
not p.getType() instanceof NumberType
|
||||
} or
|
||||
TQualifier(Callable c) { not c instanceof Constructor } or
|
||||
TReturnValue(Callable c) {
|
||||
c instanceof Constructor
|
||||
|
||||
Reference in New Issue
Block a user