On Mar 12, 2014, at 12:45 AM, Wang Weijun <weijun.w...@oracle.com> wrote:
> I do not want to rename it to getString() and let all child classes call it > in their toString(). It is probably best to define a *static* method to hold the default implementation, so that the only candidate for overriding is toString itself. See MethodHandleInfo and InfoFromMemberName (in java.lang.invoke) for one example of this pattern. — John