
org.sonar.l10n.pmd.rules.pmd.AvoidAccessibilityAlteration.html Maven / Gradle / Ivy
Methods such as getDeclaredConstructors(), getDeclaredConstructor(Class[]) and setAccessible(), as the interface PrivilegedAction, allow to alter, at runtime, the visilibilty of variable, classes, or methods, even if they are private. Obviously, no one should do so, as such behavior is against everything encapsulation principal stands for.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy