|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents the Jif security label.
Method Summary | |
Label |
bound(VarMap ub,
java.util.Set visited)
Gets the upper bound of this label. |
java.util.Collection |
components()
|
java.lang.String |
componentString()
|
java.lang.String |
description()
|
Label |
description(java.lang.String d)
|
Label |
fold(UID uid)
Substitutes any occurences of |
boolean |
hasVariables()
|
boolean |
isBottom()
|
boolean |
isComparable()
|
boolean |
isCovariant()
|
boolean |
isEnumerable()
|
boolean |
isEquiv(Label L,
PrincipalHierarchy ph)
|
boolean |
isInvariant()
|
boolean |
isMeetable()
|
boolean |
isSingleton()
|
boolean |
isTop()
|
Label |
join(Label L)
Returns the join of this label and L. |
Label |
labelOf()
Gets labelOf this label. |
boolean |
leq_(Label L,
PrincipalHierarchy ph)
|
boolean |
leq(Label L,
PrincipalHierarchy ph)
|
Label |
meet_(Label L,
PrincipalHierarchy ph)
These should only be called by JifTypeSystem |
Label |
meet(Label L,
PrincipalHierarchy ph)
|
Label |
minus(Label L)
|
Label |
simplify(PrincipalHierarchy ph)
|
Label |
singletonComponent()
|
Label |
subst(UID uid,
Label L)
Substitutes any occurences of |
Label |
substArg(int index,
UID uid,
Label label)
Substitutes the occurences of label , and substitutes
|
void |
translate(Context c,
CodeWriter w)
|
java.util.Collection |
variables()
|
Methods inherited from interface jltools.ext.jif.types.Param |
isCanonical, isRuntimeRepresentable |
Methods inherited from interface jltools.types.TypeObject |
position, restore, typeSystem |
Methods inherited from interface jltools.util.Copy |
copy |
Method Detail |
public Label bound(VarMap ub, java.util.Set visited)
ub
- the upper bound map for variable labelsvisited
- the set of UIDs visited.
if the upper bound is visited
,
visited
. public boolean isBottom()
public boolean isTop()
public boolean isEnumerable()
public java.util.Collection components()
public boolean isSingleton()
public Label singletonComponent()
public boolean isInvariant()
public boolean isCovariant()
public boolean hasVariables()
public java.util.Collection variables()
public Label substArg(int index, UID uid, Label label)
label
, and substitutes
public Label labelOf()
public Label subst(UID uid, Label L)
public Label fold(UID uid)
public Label join(Label L)
public boolean isMeetable()
public Label meet(Label L, PrincipalHierarchy ph)
public Label minus(Label L)
public Label simplify(PrincipalHierarchy ph)
public boolean isComparable()
public boolean leq(Label L, PrincipalHierarchy ph)
public boolean isEquiv(Label L, PrincipalHierarchy ph)
public void translate(Context c, CodeWriter w)
public Label meet_(Label L, PrincipalHierarchy ph)
public boolean leq_(Label L, PrincipalHierarchy ph)
public java.lang.String componentString()
public java.lang.String description()
public Label description(java.lang.String d)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |