Package org.kohsuke.accmod.restrictions
Class NoExternalUse
- java.lang.Object
-
- org.kohsuke.accmod.AccessRestriction
-
- org.kohsuke.accmod.restrictions.DoNotUse
-
- org.kohsuke.accmod.restrictions.NoExternalUse
-
public class NoExternalUse extends DoNotUse
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
Constructors Constructor Description NoExternalUse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(Location loc, RestrictedElement target, ErrorListener errorListener)
-
Methods inherited from class org.kohsuke.accmod.restrictions.DoNotUse
appliesToNested, instantiated, invoked, read, usedAsInterface, usedAsSuperType, written
-
-
-
-
Method Detail
-
error
public void error(Location loc, RestrictedElement target, ErrorListener errorListener)
-
-