|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.ed.semantic.EventListener.FieldData
public static class EventListener.FieldData
Provides information about a field event.
Method Summary | |
---|---|
java.lang.String |
getClassName()
Gets the name of the class in which the field event occurred. |
long |
getCodeIndex()
Gets the bytecode offset at which the field event occurred. |
com.sun.jdi.Value |
getCurrentValue()
Gets the current value stored in the field that was accessed or modified. |
int |
getElementIndex()
Gets the index of the array element to which this field data correlates. |
java.lang.String |
getFullName()
Gets the complete name of the field that was accessed or modified. |
int |
getLineNumber()
Gets the line number in the source code file of the field event. |
java.lang.String |
getMethod()
Gets the name of the method in which the field event occurred. |
java.lang.String |
getMethodSignature()
Gets the signature of the method in which the field event occurred. |
java.lang.String |
getName()
Gets the short name of the field that was accessed or modified. |
com.sun.jdi.Value |
getNewValue()
Gets the new value to be stored in the field that was modified. |
java.lang.String |
getSignature()
Gets the signature of the field that was accessed or modified. |
java.lang.String |
getSourceFile()
Gets the name of the source code file corresponding to the field event. |
java.lang.String |
getType()
Gets the type of the field that was accessed or modified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getFullName()
public java.lang.String getType()
public java.lang.String getSignature()
public int getElementIndex()
Array element accesses and writes are dispatched as field access and write events, as usual. However, the object information provided with those events corresponds to the array reference, and the relevant element of the array is treated as a field of the array object.
public com.sun.jdi.Value getCurrentValue()
public com.sun.jdi.Value getNewValue()
null
if this field data object
is associated with a field access event.
public java.lang.String getClassName()
public java.lang.String getMethod()
public java.lang.String getMethodSignature()
public long getCodeIndex()
public java.lang.String getSourceFile()
public int getLineNumber()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |