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



src/inspectorj/model/javamethod.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   inspectorJ - java profiler                                            *
00003  *   Copyright (C) 2007 by James May
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 
00027 #ifndef MODEL_JAVA_METHOD_H
00028 #define MODEL_JAVA_METHOD_H
00029 
00030 #include "inspectorj/jdwp/jdwpconstants.h"
00031         
00032 namespace inspectorj {
00033 namespace model {
00034 
00035 using inspectorj::jdwp::MethodID;
00036     
00041 class JavaMethod{
00042     public:
00043         JavaMethod();
00044         ~JavaMethod();
00045         
00046         void setMethodId(MethodID id);        
00047         void setJNIMethodSignature(QString signature);
00048         void setMethodName(QString name);
00049         void setMethodSignature(QString signature);
00050         void setModBits(qint32 modbits);
00051         
00052         MethodID& getMethodId();
00053         QString& getJNIMethodSignature();
00054         QString& getMethodName();
00055         QString& getMethodSignature();
00056         qint32& getModBits();   
00057 
00058     private:
00059         MethodID methodId;
00060         QString methodName;
00061         QString methodSignature;
00062         QString jniMethodSignature;
00063         qint32 modBits;
00064 
00065 };
00066 
00067 } // end namespace model
00068 } // end namespace inspectorj
00069 
00070 #endif

Generated on Sun Aug 19 17:07:54 2007 for inspectorJ by  doxygen 1.5.1