Package de.espirit.common
Annotation Interface IgnoreProtectedAccess
Calls to protected methods between classes in different classloaders are treated at runtime as if they were in different packages. Validation tasks check the Firstspirit codebase for such calls but are not able to filter out all allowed usages. Those are:
- Direct calls to the super class (
super.
) - Calls to the current instance (
this.
)
This annotation disables the check for the specified method call. If in doubt, create a similar class in a different package, thus simulating the behavior of the classloader.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueThe called method names to ignore in the current method, e.g.AbstractStoreElement.hasAttribute
.
-