|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'TRC Method'.
TracePackage.getTRCMethod()The following features are supported:
| Method Summary | |
|---|---|
double |
getBaseTime()
Returns the value of the 'Base Time' attribute |
int |
getCalls()
Returns the value of the 'Calls' attribute |
double |
getCumulativeTime()
Returns the value of the 'Cumulative Time' attribute |
TRCClass |
getDefiningClass()
Returns the value of the 'Defining Class' container reference. |
int |
getId()
Returns the value of the 'Id' attribute |
org.eclipse.emf.common.util.EList |
getInvocations()
Returns the value of the 'Invocations' reference list. |
int |
getLineCount()
Returns the value of the 'Line Count' attribute |
int |
getLineNo()
Returns the value of the 'Line No' attribute |
int |
getModifier()
Returns the value of the 'Modifier' attribute |
java.lang.String |
getName()
Returns the value of the 'Name' attribute |
TRCSignatureNotation |
getNotation()
Returns the value of the 'Notation' attribute. |
java.lang.String |
getSignature()
Returns the value of the 'Signature' attribute |
double |
getTotalCpuTime()
Returns the value of the 'Total Cpu Time' attribute |
void |
setBaseTime(double value)
Sets the value of the ' Base Time' attribute |
void |
setCalls(int value)
Sets the value of the ' Calls' attribute |
void |
setCumulativeTime(double value)
Sets the value of the ' Cumulative Time' attribute |
void |
setDefiningClass(TRCClass value)
Sets the value of the ' Defining Class' container reference |
void |
setId(int value)
Sets the value of the ' Id' attribute |
void |
setLineCount(int value)
Sets the value of the ' Line Count' attribute |
void |
setLineNo(int value)
Sets the value of the ' Line No' attribute |
void |
setModifier(int value)
Sets the value of the ' Modifier' attribute |
void |
setName(java.lang.String value)
Sets the value of the ' Name' attribute |
void |
setNotation(TRCSignatureNotation value)
Sets the value of the ' Notation' attribute |
void |
setSignature(java.lang.String value)
Sets the value of the ' Signature' attribute |
void |
setTotalCpuTime(double value)
Sets the value of the ' Total Cpu Time' attribute |
| Methods inherited from interface org.eclipse.hyades.models.trace.TRCLanguageElement |
|---|
getAnnotations, getSourceInfo, setSourceInfo |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.hyades.loaders.trace.IDeltaManager |
|---|
computeDelta, computeDelta, removeSnapshot, retrieveSnapshot, takeSnapshot |
| Method Detail |
public int getId()
If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...
See TRCClass.id
setId(int),
TracePackage.getTRCMethod_Id()public void setId(int value)
Id' attribute.
value - the new value of the 'Id' attribute.getId()public java.lang.String getName()
If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...
The name of the method. This can have language specific names like
setName(String),
TracePackage.getTRCMethod_Name()public void setName(java.lang.String value)
Name' attribute.
value - the new value of the 'Name' attribute.getName()public java.lang.String getSignature()
If the meaning of the 'Signature' attribute isn't clear, there really should be more of a description here...
The full signature of the method using the notation described in TRCMethod.notation. (eg. "(Ljava/lang/String;)Z" for "boolean methodName(String s)" in JNI notation).
setSignature(String),
TracePackage.getTRCMethod_Signature()public void setSignature(java.lang.String value)
Signature' attribute.
value - the new value of the 'Signature' attribute.getSignature()public int getModifier()
If the meaning of the 'Modifier' attribute isn't clear, there really should be more of a description here...
This will be set with a combination of bitmasks defined by the values from TRCMethodProperties
setModifier(int),
TracePackage.getTRCMethod_Modifier()public void setModifier(int value)
Modifier' attribute.
value - the new value of the 'Modifier' attribute.getModifier()public TRCSignatureNotation getNotation()
TRCSignatureNotation.
If the meaning of the 'Notation' attribute isn't clear, there really should be more of a description here...
The notation format (use to select the decoding mechanism of the signature, eg. "JNI" notation)
TRCSignatureNotation,
setNotation(TRCSignatureNotation),
TracePackage.getTRCMethod_Notation()public void setNotation(TRCSignatureNotation value)
Notation' attribute.
value - the new value of the 'Notation' attribute.TRCSignatureNotation,
getNotation()public int getLineNo()
If the meaning of the 'Line No' attribute isn't clear, there really should be more of a description here...
The line number in the SourceInfo where this method declaration starts. This is only as precise as the data collection can provide. Depending on the compiler, it may be a starting brace, the start of the actual signature declaration, or something else.
setLineNo(int),
TracePackage.getTRCMethod_LineNo()public void setLineNo(int value)
Line No' attribute.
value - the new value of the 'Line No' attribute.getLineNo()public int getLineCount()
setLineCount(int),
TracePackage.getTRCMethod_LineCount()public void setLineCount(int value)
Line Count' attribute.
value - the new value of the 'Line Count' attribute.getLineCount()public double getBaseTime()
If the meaning of the 'Base Time' attribute isn't clear, there really should be more of a description here...
Time spent in methods of the owning element
setBaseTime(double),
TracePackage.getTRCMethod_BaseTime()public void setBaseTime(double value)
Base Time' attribute.
value - the new value of the 'Base Time' attribute.getBaseTime()public double getCumulativeTime()
If the meaning of the 'Cumulative Time' attribute isn't clear, there really should be more of a description here...
Time spent in methods of this owning element + all methods called from these methods (but owned by other elements)
setCumulativeTime(double),
TracePackage.getTRCMethod_CumulativeTime()public void setCumulativeTime(double value)
Cumulative Time' attribute.
value - the new value of the 'Cumulative Time' attribute.getCumulativeTime()public int getCalls()
If the meaning of the 'Calls' attribute isn't clear, there really should be more of a description here...
number of calls to the owning element
setCalls(int),
TracePackage.getTRCMethod_Calls()public void setCalls(int value)
Calls' attribute.
value - the new value of the 'Calls' attribute.getCalls()public double getTotalCpuTime()
setTotalCpuTime(double),
TracePackage.getTRCMethod_TotalCpuTime()public void setTotalCpuTime(double value)
Total Cpu Time' attribute.
value - the new value of the 'Total Cpu Time' attribute.getTotalCpuTime()public TRCClass getDefiningClass()
Methods'.
If the meaning of the 'Defining Class' container reference isn't clear, there really should be more of a description here...
setDefiningClass(TRCClass),
TracePackage.getTRCMethod_DefiningClass(),
TRCClass.getMethods()public void setDefiningClass(TRCClass value)
Defining Class' container reference.
value - the new value of the 'Defining Class' container reference.getDefiningClass()public org.eclipse.emf.common.util.EList getInvocations()
TRCMethodInvocation.
It is bidirectional and its opposite is 'Method'.
If the meaning of the 'Invocations' reference list isn't clear, there really should be more of a description here...
transient
TracePackage.getTRCMethod_Invocations(),
TRCMethodInvocation.getMethod()
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||