|
||||||||||
| 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 null| Method Detail |
|---|
public java.lang.String getUnitName()
IVMStackTraceElement
getUnitName in interface IVMStackTraceElementpublic int getLineNumber()
IVMStackTraceElement
getLineNumber in interface IVMStackTraceElementpublic java.lang.String getModuleName()
IVMStackTraceElement
getModuleName in interface IVMStackTraceElementnull, 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()
IVMStackTraceElementRemark: 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 IVMStackTraceElementpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||