use asParameter().getName() instead of toString()

Co-authored-by: Taus <tausbn@github.com>
This commit is contained in:
Stephan Brandauer
2023-05-16 17:28:02 +02:00
committed by GitHub
parent 9845887452
commit 2cd8a879a5

View File

@@ -175,7 +175,7 @@ class FrameworkModeMetadataExtractor extends MetadataExtractor {
type = callable.getDeclaringType().getErasure().(RefType).nestedName() and
subtypes = this.considerSubtypes(callable) and
name = callable.getName() and
parameterName = e.toString() and
parameterName = e.asParameter().getName() and
signature = ExternalFlow::paramsString(callable)
)
}