Skip to content

Commit

Permalink
Respond to feedback. Using Jan's comment to not imply particular requ…
Browse files Browse the repository at this point in the history
…irement on the implementation.
  • Loading branch information
nizarbenalla committed Jan 5, 2025
1 parent 36e5a47 commit fb11329
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -778,11 +778,11 @@ default TypeElement getOutermostTypeElement(Element e) {
* elements.getTypeElement("I"));
* }
*
* @apiNote The notion of overriding, by itself, does not involve the
* method's return type, listed exceptions, or, to some extent, access
* modifiers. These are additional requirements checked by the compiler;
* see JLS {@jls 8.4.8.3} for details. An implementation may choose not
* to check the additional requirements under some conditions.
* @apiNote This method implements the overrides relation as specified in JLS {@jls 8.4.8.1}.
* It may not implement the additional compile-time checks that Java compilers follow,
* specified in JLS {@jls 8.4.8.1} and {@jls 8.4.8.3}. In particular, the additional constraints
* on thrown types, return types and those constraints on method modifiers not directly
* bound to the overriding relation as such.
*
* @param overrider the first method, possible overrider
* @param overridden the second method, possibly being overridden
Expand Down

0 comments on commit fb11329

Please sign in to comment.