Member predicate Modifiable::isEffectivelyPrivate
Holds if this declaration is effectively private. A declaration is considered
effectively private if it can only be referenced from
- the declaring and its nested types, similarly to
privatedeclarations, and - the enclosing types.
Note that explicit interface implementations are also considered effectively
private if the implemented interface is itself effectively private. Finally,
private protected members are not considered effectively private, because
they can be overridden within the declaring assembly.
predicate isEffectivelyPrivate()