Product Site

5.1.3.16. setPrivate

Specifies that a method is a private method. By default, method objects are created as public methods. See Section 4.2.8, “Public, Package-Scope, and Private Methods” for details on private method restrictions.