Package org.kohsuke.accmod.restrictions
Class None
- java.lang.Object
-
- org.kohsuke.accmod.AccessRestriction
-
- org.kohsuke.accmod.restrictions.None
-
- Direct Known Subclasses:
ProtectedExternally
public class None extends AccessRestriction
No access restriction whatsoever.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class org.kohsuke.accmod.AccessRestriction
NONE
-
-
Constructor Summary
Constructors Constructor Description None()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinstantiated(Location loc, RestrictedElement target, ErrorListener errorListener)The type on which this restriction is placed is instantiated elsewhere.voidinvoked(Location loc, RestrictedElement target, ErrorListener errorListener)The method on which this restriction is placed is invoked elsewhere.voidread(Location loc, RestrictedElement target, ErrorListener errorListener)The field on which this restriction is placed is read.voidusedAsInterface(Location loc, RestrictedElement target, ErrorListener errorListener)The type on which this restriction is placed is used as an interface that another class/interface implements.voidusedAsSuperType(Location loc, RestrictedElement target, ErrorListener errorListener)The type on which this restriction is placed is used as a supertype by another class.voidwritten(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
-
-
-
-
Method Detail
-
usedAsSuperType
public void usedAsSuperType(Location loc, RestrictedElement target, ErrorListener errorListener)
Description copied from class:AccessRestrictionThe type on which this restriction is placed is used as a supertype by another class. The location points to the subtype.- Specified by:
usedAsSuperTypein classAccessRestriction- Parameters:
loc- Points to the subtype.errorListener- Report any error here.
-
usedAsInterface
public void usedAsInterface(Location loc, RestrictedElement target, ErrorListener errorListener)
Description copied from class:AccessRestrictionThe type on which this restriction is placed is used as an interface that another class/interface implements.- Specified by:
usedAsInterfacein classAccessRestriction- Parameters:
loc- Points to the subtype.errorListener- Report any error here.
-
instantiated
public void instantiated(Location loc, RestrictedElement target, ErrorListener errorListener)
Description copied from class:AccessRestrictionThe type on which this restriction is placed is instantiated elsewhere.- Specified by:
instantiatedin classAccessRestriction
-
invoked
public void invoked(Location loc, RestrictedElement target, ErrorListener errorListener)
Description copied from class:AccessRestrictionThe method on which this restriction is placed is invoked elsewhere.- Specified by:
invokedin classAccessRestriction
-
read
public void read(Location loc, RestrictedElement target, ErrorListener errorListener)
Description copied from class:AccessRestrictionThe field on which this restriction is placed is read.- Specified by:
readin classAccessRestriction
-
written
public void written(Location loc, RestrictedElement target, ErrorListener errorListener)
Description copied from class:AccessRestrictionThe field on which this restriction is placed is updated.- Specified by:
writtenin classAccessRestriction
-
-