Package org.kohsuke.accmod.restrictions
Class NoExternalUse
java.lang.Object
org.kohsuke.accmod.AccessRestriction
org.kohsuke.accmod.restrictions.DoNotUse
org.kohsuke.accmod.restrictions.NoExternalUse
References are allowed only when they are within the same module
(that is, if the reference is compiled at the same time as the restricted element.)
Otherwise the access is rejected.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.accmod.AccessRestriction
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
error
(Location loc, RestrictedElement target, ErrorListener errorListener) Methods inherited from class org.kohsuke.accmod.restrictions.DoNotUse
appliesToNested, instantiated, invoked, read, usedAsInterface, usedAsSuperType, written