|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ocl.examples.debug.vm.utils.VMStackTraceElement
public final class VMStackTraceElement
Constructor Summary | |
---|---|
VMStackTraceElement(java.lang.String moduleName,
java.lang.String operationName,
java.lang.String unitQName,
int lineNumber)
Creates a stack trace element representing the specified execution point. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getLineNumber()
Returns the line number of the source line containing the execution point represented by this stack trace element. |
java.lang.String |
getModuleName()
Gets the name of the executed module. |
java.lang.String |
getOperationName()
Gets the name of the operation associated with this trace element. |
java.lang.String |
getUnitName()
Gets the name of the the unit containing the execution point. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VMStackTraceElement(java.lang.String moduleName, java.lang.String operationName, java.lang.String unitQName, int lineNumber)
java.lang.NullPointerException
- if fModuleName or
fOperationName is nullMethod Detail |
---|
public java.lang.String getUnitName()
IVMStackTraceElement
getUnitName
in interface IVMStackTraceElement
public int getLineNumber()
IVMStackTraceElement
getLineNumber
in interface IVMStackTraceElement
public java.lang.String getModuleName()
IVMStackTraceElement
getModuleName
in interface IVMStackTraceElement
null
, in case the executed code
is not part of any module, for instance a condition of a top
level modeltype
element.public java.lang.String getOperationName()
IVMStackTraceElement
Remark: It's possible that the name does not refer to an operation explicitly defined in OCL, but rather to a synthesized one.
getOperationName
in interface IVMStackTraceElement
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |