ij-16.png   inspectorJ -- JavaTM Profiler
sf project site browse source checkout source
SourceForge.net Logo



inspectorj::model::JavaMethod Class Reference

#include <javamethod.h>

Collaboration diagram for inspectorj::model::JavaMethod:

Collaboration graph
[legend]
List of all members.

Detailed Description

JavaMethod represents a method of a java class.

Definition at line 41 of file javamethod.h.

Public Member Functions

 JavaMethod ()
 ~JavaMethod ()
void setMethodId (MethodID id)
 Sets the method Id for this method.
void setJNIMethodSignature (QString signature)
 Sets the JNI Signature for this method.
void setMethodName (QString name)
 Sets the method name of this method.
void setMethodSignature (QString signature)
 Sets the normalized method signature for this method.
void setModBits (qint32 modbits)
 Sets the modBits for this method.
MethodIDgetMethodId ()
 Returns the method id of this method.
QString & getJNIMethodSignature ()
 Returns the method's JNI method signature.
QString & getMethodName ()
 Returns the method's name.
QString & getMethodSignature ()
 Returns the method's normalized method signature.
qint32 & getModBits ()
 Returns the method's modbits which describe the methods access modifiers.

Private Attributes

MethodID methodId
QString methodName
QString methodSignature
QString jniMethodSignature
qint32 modBits


Member Function Documentation

void inspectorj::model::JavaMethod::setMethodId ( MethodID  id  ) 

Sets the method Id for this method.

Parameters:
id The MethodID to set.

Definition at line 130 of file javamethod.cpp.

References methodId, and inspectorj::jdwp::MethodID::value.

Referenced by inspectorj::model::JavaClass::setMethods().

void inspectorj::model::JavaMethod::setJNIMethodSignature ( QString  signature  ) 

Sets the JNI Signature for this method.

Parameters:
signature The JNI Signature to set.

Definition at line 45 of file javamethod.cpp.

References jniMethodSignature.

Referenced by inspectorj::model::JavaClass::setMethods().

void inspectorj::model::JavaMethod::setMethodName ( QString  name  ) 

Sets the method name of this method.

Parameters:
name The method name.

Definition at line 55 of file javamethod.cpp.

References methodName.

Referenced by inspectorj::model::JavaClass::setMethods().

void inspectorj::model::JavaMethod::setMethodSignature ( QString  signature  ) 

Sets the normalized method signature for this method.

Parameters:
signaure The method signature.

Definition at line 65 of file javamethod.cpp.

References methodSignature.

Referenced by inspectorj::model::JavaClass::setMethods().

void inspectorj::model::JavaMethod::setModBits ( qint32  modbits  ) 

Sets the modBits for this method.

The modbits describe the access modifiers for the method.

Parameters:
modbits The modbits to set.

Definition at line 76 of file javamethod.cpp.

References modBits.

Referenced by inspectorj::model::JavaClass::setMethods().

MethodID & inspectorj::model::JavaMethod::getMethodId (  ) 

Returns the method id of this method.

Definition at line 84 of file javamethod.cpp.

References methodId.

QString & inspectorj::model::JavaMethod::getJNIMethodSignature (  ) 

Returns the method's JNI method signature.

Definition at line 93 of file javamethod.cpp.

References jniMethodSignature.

QString & inspectorj::model::JavaMethod::getMethodName (  ) 

Returns the method's name.

Definition at line 102 of file javamethod.cpp.

References methodName.

QString & inspectorj::model::JavaMethod::getMethodSignature (  ) 

Returns the method's normalized method signature.

Definition at line 111 of file javamethod.cpp.

References methodSignature.

qint32 & inspectorj::model::JavaMethod::getModBits (  ) 

Returns the method's modbits which describe the methods access modifiers.

Definition at line 120 of file javamethod.cpp.

References modBits.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 17:08:18 2007 for inspectorJ by  doxygen 1.5.1