Most of the answers above are correct given a specific question. Alepucio, Vincent and bmatthews68 have answers that make sense in context.
** If the question is about overriding the superclass method with the same signature as overriding, this is the correct definition. If it is overloaded with the fact that you create the same method that takes different arguments, then I donβt think that this can be modeled structurally, you can show it using a sequence diagram, for example, a behavioral one, but not really.
So + doSomething (p: AThing): int {redefines} is correct, as Vincent did.
** If your problem / question concerns parameters that do not appear visually on the chart, which is usually a parameter in most UML tools.
** If you want to make it even clearer what you are doing, use the <> keyword, also note that the keyword is not a stereotype, as it is not part of the metamodel.
Ted johnson
source share