I have been looking around for this for ages, but could not find any way to link a UML note to an operation of a class or to display the provided implementation in the specification of an operation. The idea is illustrated in the picture.
I tried to add the implementation to the operation, but I don't manage to make it appear in my diagram. I also tried making a note and then connecting it to the method, but this leads to unclear floating line-ends.
If anybody could let me know how this could be achieved with visual paradigm or let me know it is impossible, that would be nice.
Thanks in advance.