mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-07 00:48:38 +00:00
8297305: Clarify that javax.lang.model.util.Elements.overrides is irreflexive
Reviewed-by: jjg
This commit is contained in:
parent
bf78f716bd
commit
c6f22b4160
@ -622,6 +622,8 @@ public interface Elements {
|
||||
* overrides another method.
|
||||
* When a non-abstract method overrides an abstract one, the
|
||||
* former is also said to <i>implement</i> the latter.
|
||||
* As implied by JLS {@jls 8.4.8.1}, a method does <em>not</em>
|
||||
* override itself. The overrides relation is <i>irreflexive</i>.
|
||||
*
|
||||
* <p> In the simplest and most typical usage, the value of the
|
||||
* {@code type} parameter will simply be the class or interface
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user