Package org.kohsuke.accmod.restrictions
Class None
java.lang.Object
org.kohsuke.accmod.AccessRestriction
org.kohsuke.accmod.restrictions.None
- Direct Known Subclasses:
ProtectedExternally
No access restriction whatsoever.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.accmod.AccessRestriction
NONE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
instantiated
(Location loc, RestrictedElement target, ErrorListener errorListener) The type on which this restriction is placed is instantiated elsewhere.void
invoked
(Location loc, RestrictedElement target, ErrorListener errorListener) The method on which this restriction is placed is invoked elsewhere.void
read
(Location loc, RestrictedElement target, ErrorListener errorListener) The field on which this restriction is placed is read.void
usedAsInterface
(Location loc, RestrictedElement target, ErrorListener errorListener) The type on which this restriction is placed is used as an interface that another class/interface implements.void
usedAsSuperType
(Location loc, RestrictedElement target, ErrorListener errorListener) The type on which this restriction is placed is used as a supertype by another class.void
written
(Location loc, RestrictedElement target, ErrorListener errorListener) The field on which this restriction is placed is updated.Methods inherited from class org.kohsuke.accmod.AccessRestriction
appliesToNested
-
Constructor Details
-
None
public None()
-
-
Method Details
-
usedAsSuperType
Description copied from class:AccessRestriction
The type on which this restriction is placed is used as a supertype by another class. The location points to the subtype.- Specified by:
usedAsSuperType
in classAccessRestriction
- Parameters:
loc
- Points to the subtype.errorListener
- Report any error here.
-
usedAsInterface
Description copied from class:AccessRestriction
The type on which this restriction is placed is used as an interface that another class/interface implements.- Specified by:
usedAsInterface
in classAccessRestriction
- Parameters:
loc
- Points to the subtype.errorListener
- Report any error here.
-
instantiated
Description copied from class:AccessRestriction
The type on which this restriction is placed is instantiated elsewhere.- Specified by:
instantiated
in classAccessRestriction
-
invoked
Description copied from class:AccessRestriction
The method on which this restriction is placed is invoked elsewhere.- Specified by:
invoked
in classAccessRestriction
-
read
Description copied from class:AccessRestriction
The field on which this restriction is placed is read.- Specified by:
read
in classAccessRestriction
-
written
Description copied from class:AccessRestriction
The field on which this restriction is placed is updated.- Specified by:
written
in classAccessRestriction
-