|
JIVE Platform Release 0.3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.buffalo.cse.jive.ui.search.queries.InvariantViolatedSearchQuery.AssignEventExporter
protected class InvariantViolatedSearchQuery.AssignEventExporter
An exporter used to examine AssignEvents and to determine if the
event is an assignment to a variable represented by a
JiveSearchPattern.
| Field Summary | |
|---|---|
protected String |
className
The fully-qualified class name containing the variable assignment. |
protected String |
instanceNumber
The instance number of the class containing the variable assignment. |
protected String |
methodName
The method name where the variable assignment is occurring if the variable is a parameter or local variable. |
protected Value |
value
The value assigned to the variable. |
protected String |
variableName
The variable which is being assigned a value. |
| Constructor Summary | |
|---|---|
protected |
InvariantViolatedSearchQuery.AssignEventExporter()
|
| Method Summary | |
|---|---|
void |
addContourID(ContourID id)
Adds the identifier for the contour that contains the variable whose value is changing. |
void |
addNewValue(Value v)
Adds the new value assigned to the variable. |
void |
addNumber(long n)
Get the sequence number of this event. |
void |
addThreadID(ThreadID thread)
Adds the thread on which this event took place. |
void |
addVariableID(VariableID variableID)
Adds the identifier of the variable that has changed value. |
boolean |
matchesPattern(JiveSearchPattern pattern)
Returns whether the event is an assignment to a variable represented by the supplied JiveSearchPattern. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String className
protected String instanceNumber
protected String methodName
protected String variableName
protected Value value
| Constructor Detail |
|---|
protected InvariantViolatedSearchQuery.AssignEventExporter()
| Method Detail |
|---|
public void addContourID(ContourID id)
AssignEvent.Exporter
addContourID in interface AssignEvent.Exporterid - the variables contextpublic void addNewValue(Value v)
AssignEvent.ExporterAssignEvent#export(Exporter).
addNewValue in interface AssignEvent.Exporterv - the new valuepublic void addVariableID(VariableID variableID)
AssignEvent.Exporter
addVariableID in interface AssignEvent.ExportervariableID - the variable identifierpublic void addNumber(long n)
Event.Exporter
addNumber in interface Event.Exportern - the event numberpublic void addThreadID(ThreadID thread)
Event.Exporter
addThreadID in interface Event.Exporterthread - the thread identifierpublic boolean matchesPattern(JiveSearchPattern pattern)
JiveSearchPattern.
pattern - the pattern to check against
true if the assignment can be associated with the pattern,
false otherwise
|
JIVE Platform Release 0.3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||