|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectInvariant
UnaryInvariant
SingleString
PrintableString
public final class PrintableString
Represents a string that contains only printable ascii characters (values 32 through 126 plus 9 (tab)
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class Invariant |
|---|
Invariant.ClassVarnameComparator, Invariant.ClassVarnameFormulaComparator, Invariant.InvariantComparatorForPrinting, Invariant.Match |
| Field Summary | |
|---|---|
static boolean |
dkconfig_enabled
Boolean. |
| Constructor Summary | |
|---|---|
PrintableString(PptSlice slice)
|
|
| Method Summary | |
|---|---|
InvariantStatus |
add_modified(String a,
int count)
Check to see if a only contains printable ascii characters |
InvariantStatus |
check_modified(String a,
int count)
Check to see if a only contains printable ascii characters |
protected double |
computeConfidence()
This method computes the confidence that this invariant occurred by chance. |
boolean |
enabled()
returns whether or not this invariant is enabled |
String |
format_using(OutputFormat format)
return description of invariant. |
static PrintableString |
get_proto()
Returns the prototype invariant for PrintableString |
PrintableString |
instantiate_dyn(PptSlice slice)
instantiate an invariant on the specified slice |
DiscardInfo |
isObviousStatically(VarInfo[] vis)
Returns whether or not this is obvious statically. |
boolean |
isSameFormula(Invariant o)
|
| Methods inherited from class SingleString |
|---|
add_unmodified, add, check_unmodified, check, valid_types, var |
| Methods inherited from class UnaryInvariant |
|---|
resurrect_done |
| Methods inherited from class Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static boolean dkconfig_enabled
| Constructor Detail |
|---|
public PrintableString(PptSlice slice)
| Method Detail |
|---|
public static PrintableString get_proto()
public boolean enabled()
enabled in class Invariantpublic PrintableString instantiate_dyn(PptSlice slice)
instantiate_dyn in class Invariantpublic String format_using(OutputFormat format)
format_using in class Invariant
public InvariantStatus add_modified(String a,
int count)
add_modified in class SingleString
public InvariantStatus check_modified(String a,
int count)
check_modified in class SingleStringprotected double computeConfidence()
Invariant
computeConfidence in class InvariantInvariant.getConfidence()public DiscardInfo isObviousStatically(VarInfo[] vis)
isObviousStatically in class Invariantvis - The VarInfos this invariant is obvious over. The
position and data type of the variables is the *same* as that of
this.ppt.var_infos.public boolean isSameFormula(Invariant o)
isSameFormula in class Invariant
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||