On Mon, 24 May 2021 21:05:02 GMT, Pavel Rappo <pra...@openjdk.org> wrote:
> When a method is said to be called "on an object", this means that the object > is a receiver. When a method is said to be called "with an object", this > means that the object is a parameter. > > To scan an instance of (Doc)Tree, the "scan" method is called on the instance > of (Doc)TreeScanner with that instance of (Doc)Tree. This pull request has now been integrated. Changeset: 5a5b807e Author: Pavel Rappo <pra...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/5a5b807e8e3b3148eea911ed1b2c9624b6846370 Stats: 12 lines in 3 files changed: 0 ins; 0 del; 12 mod 8267633: Clarify documentation of (Doc)TreeScanner Reviewed-by: jjg ------------- PR: https://git.openjdk.java.net/jdk/pull/4174