[
https://issues.apache.org/jira/browse/LUCENE-2188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796910#action_12796910
]
Simon Willnauer commented on LUCENE-2188:
-----------------------------------------
Uwe,
I'm not sure if I have a really good replacement for the your names, none of
the following suggestions seem to be a 100% match though.
for getOverrideDistance() you could call it:
* getDefinitionDistanceFrom(Class)
* getImplementationDistanceFrom(Class)
The term distance is fine IMO, I would rather extend the javadoc a little and
explain that this is the distance between the given class and the next class
implementing the method on the path from the given class to the base class
where the method was initally declared / defined
for isOverriddenBy() you could call it:
* isDefinedBy()
* isImplementedBy()
I also wanna mention an option for the class name, "VirtualMethod" pretty much
matches what this class represents. :)
> A handy utility class for tracking deprecated overridden methods
> ----------------------------------------------------------------
>
> Key: LUCENE-2188
> URL: https://issues.apache.org/jira/browse/LUCENE-2188
> Project: Lucene - Java
> Issue Type: New Feature
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: 3.1
>
> Attachments: LUCENE-2188.patch, LUCENE-2188.patch, LUCENE-2188.patch,
> LUCENE-2188.patch
>
>
> This issue provides a new handy utility class that keeps track of overridden
> deprecated methods in non-final sub classes. This class can be used in new
> deprecations.
> See the javadocs for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]