Codebase list access-modifier-checker / run/51aad995-6c41-4511-aea0-d4337cf39db2/main
run/51aad995-6c41-4511-aea0-d4337cf39db2/main

Tree @run/51aad995-6c41-4511-aea0-d4337cf39db2/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.)