Product Site

5.1.3.11. isPrivate

Returns .true if the method is a Private method. Returns .false for Public methods or Package-scope methods. See Section 4.2.8, “Public, Package-Scope, and Private Methods” for details on private method restrictions.

See also method isPackage .