Package org.kohsuke.accmod.restrictions
Class DoNotUse
java.lang.Object
org.kohsuke.accmod.AccessRestriction
org.kohsuke.accmod.restrictions.DoNotUse
- Direct Known Subclasses:
Beta,NoExternalUse
This type, field, or method shall never be referenced from anywhere at all.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.accmod.AccessRestriction
NONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether this access restriction, if applied to a type, should also be considered to apply implicitly to all transitively nested members.voiderror(Location loc, RestrictedElement target, ErrorListener errorListener) 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.
-
Constructor Details
-
DoNotUse
public DoNotUse()
-
-
Method Details
-
written
Description copied from class:AccessRestrictionThe field on which this restriction is placed is updated.- Specified by:
writtenin classAccessRestriction
-
usedAsSuperType
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
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
Description copied from class:AccessRestrictionThe type on which this restriction is placed is instantiated elsewhere.- Specified by:
instantiatedin classAccessRestriction
-
invoked
Description copied from class:AccessRestrictionThe method on which this restriction is placed is invoked elsewhere.- Specified by:
invokedin classAccessRestriction
-
read
Description copied from class:AccessRestrictionThe field on which this restriction is placed is read.- Specified by:
readin classAccessRestriction
-
error
-
appliesToNested
public boolean appliesToNested()Description copied from class:AccessRestrictionWhether this access restriction, if applied to a type, should also be considered to apply implicitly to all transitively nested members.- Overrides:
appliesToNestedin classAccessRestriction- Returns:
- by default, false
-