|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectSplitter
CallerContextSplitter
public final class CallerContextSplitter
This splitter tests the condition "$caller one of < some set of integers >".
| Field Summary | |
|---|---|
String |
CALLER_INDICATOR_NAME_STRING
Name of the variable used by the front end to store caller (callsite) information. |
| Fields inherited from class Splitter |
|---|
instantiated |
| Constructor Summary | |
|---|---|
|
CallerContextSplitter(long[] ids,
String condition)
Create a prototype splitter for the given set of ids and condition. |
protected |
CallerContextSplitter(Ppt ppt,
long[] ids,
String condition)
|
| Method Summary | |
|---|---|
String |
condition()
Returns the condition being tested, as a String. |
DummyInvariant |
getDummyInvariant()
On an instantiated Splitter, give back an appropriate instantiated DummyInvariant. |
Splitter |
instantiate(Ppt ppt)
Create a new splitter for the given ppt using this as a prototype. |
boolean |
test(ValueTuple vt)
Returns true or false according to whether the values in the specified ValueTuple satisfy the condition represented by this Splitter. |
String |
toString()
|
boolean |
valid()
Returns true or false according to whether this was instantiated correctly and test(ValueTuple) can be called without error. |
| Methods inherited from class Splitter |
|---|
instantiated, instantiateDummy, makeDummyInvariant |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final String CALLER_INDICATOR_NAME_STRING
| Constructor Detail |
|---|
protected CallerContextSplitter(Ppt ppt,
long[] ids,
String condition)
public CallerContextSplitter(long[] ids,
String condition)
| Method Detail |
|---|
public Splitter instantiate(Ppt ppt)
instantiate in class Splitterpublic boolean valid()
Splitter
valid in class Splitterpublic boolean test(ValueTuple vt)
Splitter
test in class Splitterpublic String condition()
Splitter
condition in class Splitterpublic String toString()
toString in class Objectpublic DummyInvariant getDummyInvariant()
Splitter
getDummyInvariant in class Splitter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||