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



src/inspectorj/toolset/toolsetutils.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   inspectorJ - java profiler                                            *
00003  *   Copyright (C) 2007 by 
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 TOOLSET_TOOLSET_UTILS_H
00028 #define TOOLSET_TOOLSET_UTILS_H
00029 
00030 #include "inspectorj/jdwp/jdwpcommand.h"
00031 #include <QRegExp>
00032 #include <QStringList>
00033 
00034 namespace inspectorj {
00035 namespace toolset
00036 {
00037 
00043 class ToolSetUtils : QObject
00044 {
00045     public:
00046         ToolSetUtils();
00047         ~ToolSetUtils();
00048 
00050         static QRegExp JNI_CLASS_START;
00051         
00053         static QRegExp JNI_REFERENCE_START;        
00054         
00056         static QRegExp JNI_CLASS_END;
00057         
00059         static QString SINGLE_STAR;
00060         
00062         static QString DOUBLE_STAR;
00063     
00065         static QChar ARRAY_DESIGNATOR;
00066         
00068         static QString BRACKETS;
00069         
00071         static QString JNI_PACKAGE_SEPARATOR;
00072         
00074         static QString DOT;
00075         
00078         static QString WILDCARD;
00079         
00082         static QString GREEDY_WILDCARD;
00083         
00085         static QString GREEDY_WILDCARD_TEMP;
00086         
00088         static QString DOLLAR_SIGN;
00089         
00090         static void createClassFilter(QRegExp&, QString);
00091         static QString& normalizeClassSignature(QString&);
00092         static QString& createJNIClassSignature(QString&);        
00093         static QString& normalizeMethodSignature(QString&, QString&, QString classname=QString(""));
00094 
00095 };
00096 
00097 } // end namespace toolset
00098 } // end namespace inspectorj
00099 
00100 #endif // UTILS_

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