Integrated: 8267633: Clarify documentation of (Doc)TreeScanner

Pavel Rappo prappo at openjdk.java.net
Tue May 25 14:27:04 UTC 2021


On Mon, 24 May 2021 21:05:02 GMT, Pavel Rappo <prappo at 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 <prappo at 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


More information about the compiler-dev mailing list