From bacecec3e70d9655bdcdacb59382743562cde810 Mon Sep 17 00:00:00 2001 From: Florian Bossert Date: Sun, 30 Jun 2024 16:56:39 +0200 Subject: [PATCH] Use parameter names instead of types for signatures --- .../retriever/extraction/engine/PCMInstanceCreator.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bundles/org.palladiosimulator.retriever.extraction/src/org/palladiosimulator/retriever/extraction/engine/PCMInstanceCreator.java b/bundles/org.palladiosimulator.retriever.extraction/src/org/palladiosimulator/retriever/extraction/engine/PCMInstanceCreator.java index da363ede..3e38c9fa 100644 --- a/bundles/org.palladiosimulator.retriever.extraction/src/org/palladiosimulator/retriever/extraction/engine/PCMInstanceCreator.java +++ b/bundles/org.palladiosimulator.retriever.extraction/src/org/palladiosimulator/retriever/extraction/engine/PCMInstanceCreator.java @@ -268,8 +268,11 @@ private void createPCMInterfaces(final Map> i if (method != null) { // parameter type - for (final ITypeBinding parameter : method.getParameterTypes()) { - signature = this.handleSignatureDataType(signature, parameter.getName(), parameter, + ITypeBinding[] parameterTypes = method.getParameterTypes(); + String[] parameterNames = method.getParameterNames(); + for (int i = 0; i < parameterTypes.length; i++) { + final ITypeBinding parameter = parameterTypes[i]; + signature = this.handleSignatureDataType(signature, parameterNames[i], parameter, parameter.getDimensions(), false); }