XCSG:Visibility

From AtlasWiki
Revision as of 15:43, 2 October 2015 by Dgriffen (Talk | contribs) (Dgriffen moved page Visibility to XCSG:Visibility over redirect: All tags are being moved to XCSG namespace)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Specification

Enumeration Visibility
Description The visibility of a Type, Variable, or Function in its Namespace.
Visibility Description
public Globally accessible
protectedPackage Accessible from classifiers that extend the Classifier it is declared in and from the Package it is declared in
package Accessible only within the Package it is contained in
private Accessible only within the Classifier it is declared in

Used on: Type, Variable

Implementation note: in Atlas, to avoid name collisions with Java keywords, the visibility tags are accessed through XCSG.publicVisibility, XCSG.protectedPackageVisibility, XCSG.packageVisibility, and XCSG.privateVisibility.