...
MET11-EX0: Occasionally an API will be provided that violates this rule...that is, it provides hidden methods. Invoking those methods is not a violation of this rule, provided that all invocations of hiding or hidden methods use qualified names or method invocation expressions that explicitly indicate which specific method is invoked. If the above example had been such a case, modification displayAccountStatus()
is a hidden method, for example, the following implementation of the choose()
method as shown below would have been is an acceptable alternative:
...