Codebase list access-modifier-checker / 31a0bb5e-5e39-4c15-8d45-41900393ffb5/main
31a0bb5e-5e39-4c15-8d45-41900393ffb5/main

Tree @31a0bb5e-5e39-4c15-8d45-41900393ffb5/main (Download .tar.gz)

1
2
3
4
5
6
7
8
# Access modifier

Allows applications to define custom access modifiers programmatically,
to be enforced at compile time in the opt-in basis. Obviously,
there's no runtime check either --- this is strictly a voluntary annotations.

This mechanism is useful for actually making sure that deprecated features are not used
(without actually removing such declarations, which would break binary compatibility.)