public class ReaderPolicy_c extends Policy_c implements ReaderPolicy
PolicyLabel interface.| Constructor and Description |
|---|
ReaderPolicy_c(Principal owner,
Principal reader,
JifTypeSystem ts,
polyglot.util.Position pos) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsImpl(polyglot.types.TypeObject o) |
int |
hashCode() |
boolean |
isBottom() |
boolean |
isBottomConfidentiality() |
boolean |
isCanonical() |
boolean |
isRuntimeRepresentable() |
boolean |
isSingleton() |
boolean |
isTop() |
boolean |
isTopConfidentiality() |
ConfPolicy |
join(ConfPolicy p) |
PathMap |
labelCheck(JifContext A,
LabelChecker lc) |
boolean |
leq_(ConfPolicy p,
LabelEnv env,
LabelEnv.SearchState state) |
ConfPolicy |
meet(ConfPolicy p) |
Principal |
owner() |
Principal |
reader() |
protected Policy |
simplifyImpl() |
Policy |
subst(LabelSubstitution substitution) |
java.util.List<polyglot.types.Type> |
throwTypes(polyglot.types.TypeSystem ts) |
java.lang.String |
toString(java.util.Set<Label> printedLabels) |
protected void |
updateContextForReader(LabelChecker lc,
JifContext A,
PathMap Xowner)
Utility method for updating the context for checking the reader.
|
copy, hasVariables, hasWritersToReaders, simplify, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasVariables, hasWritersToReaders, simplifypublic ReaderPolicy_c(Principal owner, Principal reader, JifTypeSystem ts, polyglot.util.Position pos)
public Principal owner()
owner in interface ReaderPolicypublic Principal reader()
reader in interface ReaderPolicypublic boolean isSingleton()
isSingleton in interface Policypublic boolean isCanonical()
isCanonical in interface PolicyisCanonical in interface polyglot.types.TypeObjectpublic boolean isRuntimeRepresentable()
isRuntimeRepresentable in interface Policyprotected Policy simplifyImpl()
simplifyImpl in class Policy_cpublic boolean equalsImpl(polyglot.types.TypeObject o)
equalsImpl in interface polyglot.types.TypeObjectequalsImpl in class Policy_cpublic int hashCode()
hashCode in class polyglot.types.TypeObject_cpublic boolean leq_(ConfPolicy p, LabelEnv env, LabelEnv.SearchState state)
leq_ in interface ConfPolicypublic java.lang.String toString(java.util.Set<Label> printedLabels)
public java.util.List<polyglot.types.Type> throwTypes(polyglot.types.TypeSystem ts)
throwTypes in interface Policypublic Policy subst(LabelSubstitution substitution) throws polyglot.types.SemanticException
public PathMap labelCheck(JifContext A, LabelChecker lc)
labelCheck in interface Policyprotected void updateContextForReader(LabelChecker lc, JifContext A, PathMap Xowner)
public boolean isBottomConfidentiality()
isBottomConfidentiality in interface ConfPolicypublic boolean isTopConfidentiality()
isTopConfidentiality in interface ConfPolicypublic ConfPolicy meet(ConfPolicy p)
meet in interface ConfPolicypublic ConfPolicy join(ConfPolicy p)
join in interface ConfPolicy