Skip to content

Commit

Permalink
Use parameter names instead of types for signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
FloBoJa committed Jun 30, 2024
1 parent c2fc024 commit bacecec
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,11 @@ private void createPCMInterfaces(final Map<OperationInterface, Set<Operation>> 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);
}

Expand Down

0 comments on commit bacecec

Please sign in to comment.