public class DoNotUse extends AccessRestriction
NONE| Constructor and Description |
|---|
DoNotUse() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(Location loc,
RestrictedElement target,
ErrorListener errorListener) |
void |
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.
|
public void written(Location loc, RestrictedElement target, ErrorListener errorListener)
AccessRestrictionwritten in class AccessRestrictionpublic void usedAsSuperType(Location loc, RestrictedElement target, ErrorListener errorListener)
AccessRestrictionusedAsSuperType in class AccessRestrictionloc - Points to the subtype.errorListener - Report any error here.public void usedAsInterface(Location loc, RestrictedElement target, ErrorListener errorListener)
AccessRestrictionusedAsInterface in class AccessRestrictionloc - Points to the subtype.errorListener - Report any error here.public void instantiated(Location loc, RestrictedElement target, ErrorListener errorListener)
AccessRestrictioninstantiated in class AccessRestrictionpublic void invoked(Location loc, RestrictedElement target, ErrorListener errorListener)
AccessRestrictioninvoked in class AccessRestrictionpublic void read(Location loc, RestrictedElement target, ErrorListener errorListener)
AccessRestrictionread in class AccessRestrictionpublic void error(Location loc, RestrictedElement target, ErrorListener errorListener)
Copyright © 2013. All Rights Reserved.