umbrello/umbrello
JavaImport Class Reference
Java code import. More...
#include <javaimport.h>

Public Member Functions | |
| JavaImport () | |
| virtual | ~JavaImport () |
Protected Member Functions | |
| void | fillSource (const QString &word) |
| void | initVars () |
| QString | joinTypename (QString typeName) |
| void | parseFile (const QString &filename) |
| bool | parseStmt () |
| UMLObject * | resolveClass (QString className) |
| void | spawnImport (QString file) |
Protected Attributes | |
| QString | m_currentFileName |
| QString | m_currentPackage |
| Uml::Visibility | m_defaultCurrentAccess |
| QStringList | m_imports |
| bool | m_isStatic |
Static Protected Attributes | |
| static QStringList | s_filesAlreadyParsed |
| static int | s_parseDepth = 0 |
Detailed Description
Java code import.
Definition at line 24 of file javaimport.h.
Constructor & Destructor Documentation
| JavaImport::JavaImport | ( | ) |
Definition at line 37 of file javaimport.cpp.
| JavaImport::~JavaImport | ( | ) | [virtual] |
Definition at line 43 of file javaimport.cpp.
Member Function Documentation
| void JavaImport::fillSource | ( | const QString & | word | ) | [protected, virtual] |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
Definition at line 71 of file javaimport.cpp.
| void JavaImport::initVars | ( | ) | [protected, virtual] |
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase.
Definition at line 47 of file javaimport.cpp.
figure out if the type is really an array or template of the given typeName
Catenate possible template arguments/array dimensions to the end of the type name.
Definition at line 53 of file javaimport.cpp.
| void JavaImport::parseFile | ( | const QString & | filename | ) | [protected, virtual] |
Keep track of the filename currently being parsed.
keep track of the current file being parsed and reset the list of imports
Reimplemented from NativeImportBase.
Definition at line 207 of file javaimport.cpp.
| bool JavaImport::parseStmt | ( | ) | [protected, virtual] |
Implement abstract operation from NativeImportBase.
Implements NativeImportBase.
Definition at line 229 of file javaimport.cpp.
Try to resolve the specified class the current class depends on.
Resolve the specified className.
Definition at line 118 of file javaimport.cpp.
| void JavaImport::spawnImport | ( | QString | file | ) | [protected] |
spawn off an import of the specified file
Spawn off an import of the specified file.
Definition at line 92 of file javaimport.cpp.
Member Data Documentation
QString JavaImport::m_currentFileName [protected] |
QString JavaImport::m_currentPackage [protected] |
Uml::Visibility JavaImport::m_defaultCurrentAccess [protected] |
The current visibility for when the visibility is absent.
Definition at line 100 of file javaimport.h.
QStringList JavaImport::m_imports [protected] |
bool JavaImport::m_isStatic [protected] |
QStringList JavaImport::s_filesAlreadyParsed [static, protected] |
Keep track of the files we have already parsed so we don't reparse the same ones over and over again.
Definition at line 89 of file javaimport.h.
int JavaImport::s_parseDepth = 0 [static, protected] |
Keep track of the parses so that the filesAlreadyParsed can be reset when we're done.
Definition at line 95 of file javaimport.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference