Invalid Syntax for UML Diagram without actual mistake in the syntax (as far as I can see)

Hi,

I think I have encountered an error message that is not necessarily valid or helpful. If it is valid, please tell me what the mistake I encounter is triggered by. Thanks a lot in advance!

Capture
This message is displayed when trying to enter the operation.

Kind regards!

Hi Cube,

It is because when we parse the input signature of attribute/parameter, we expect it to be in the form of:

name: type

So the correct operation signature would be:

+create(entities: Iterable<E>): ResultCollection<E>

Best Regards,

Antony.