JavaImport Class Reference
Java code import. More...
#include <javaimport.h>
Inheritance diagram for JavaImport:

Protected Member Functions | |
| void | initVars () |
| Reimplement operation from NativeImportBase. | |
| bool | parseStmt () |
| Implement abstract operation from NativeImportBase. | |
| void | fillSource (const QString &word) |
| Implement abstract operation from NativeImportBase. | |
| void | parseFile (const QString &filename) |
| Keep track of the filename currently being parsed. | |
| UMLObject * | resolveClass (QString className) |
| Try to resolve the specified class the current class depends on. | |
| void | spawnImport (QString file) |
| spawn off an import of the specified file | |
| QString | joinTypename (QString typeName) |
| figure out if the type is really an array or template of the given typeName | |
Protected Attributes | |
| bool | m_isStatic |
| true if the member var or method is declared static | |
| QString | m_currentFileName |
| The current filename being parsed. | |
| QString | m_currentPackage |
| the current package of the file being parsed | |
| QStringList | m_imports |
| the imports included in the current file | |
| Uml::Visibility | m_defaultCurrentAccess |
| The current visibility for when the visibility is absent. | |
Static Protected Attributes | |
| static QStringList | s_filesAlreadyParsed |
| Keep track of the files we have already parsed so we don't reparse the same ones over and over again. | |
| static int | s_parseDepth = 0 |
| Keep track of the parses so that the filesAlreadyParsed can be reset when we're done. | |
Detailed Description
Java code import.
- Author:
- Oliver Kellogg
JP Fournier Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 24 of file javaimport.h.
Member Function Documentation
|
|
Reimplement operation from NativeImportBase.
Reimplemented from NativeImportBase. Definition at line 43 of file javaimport.cpp. References m_isStatic. |
|
|
|
Implement abstract operation from NativeImportBase.
Implements NativeImportBase. Definition at line 65 of file javaimport.cpp. |
|
|
Keep track of the filename currently being parsed.
Reimplemented from NativeImportBase. Definition at line 200 of file javaimport.cpp. References m_currentFileName, m_defaultCurrentAccess, m_imports, NativeImportBase::parseFile(), s_filesAlreadyParsed, and s_parseDepth. |
|
|
Try to resolve the specified class the current class depends on.
Definition at line 111 of file javaimport.cpp. References Import_Utils::createUMLObject(), m_currentFileName, and spawnImport(). Referenced by parseStmt(). |
|
|
spawn off an import of the specified file
Definition at line 86 of file javaimport.cpp. References ClassImport::importFiles(), and s_filesAlreadyParsed. Referenced by resolveClass(). |
|
|
figure out if the type is really an array or template of the given typeName
Definition at line 48 of file javaimport.cpp. References NativeImportBase::skipToClosing(). Referenced by parseStmt(). |
Member Data Documentation
|
|
true if the member var or method is declared static
Definition at line 68 of file javaimport.h. Referenced by initVars(), and parseStmt(). |
|
|
The current filename being parsed.
Definition at line 73 of file javaimport.h. Referenced by parseFile(), and resolveClass(). |
|
|
the current package of the file being parsed
Definition at line 78 of file javaimport.h. Referenced by parseStmt(). |
|
|
the imports included in the current file
Definition at line 83 of file javaimport.h. Referenced by parseFile(), and parseStmt(). |
|
|
Keep track of the files we have already parsed so we don't reparse the same ones over and over again.
Definition at line 32 of file javaimport.cpp. Referenced by parseFile(), and spawnImport(). |
|
|
Keep track of the parses so that the filesAlreadyParsed can be reset when we're done.
Definition at line 33 of file javaimport.cpp. Referenced by parseFile(). |
|
|
The current visibility for when the visibility is absent.
Definition at line 100 of file javaimport.h. Referenced by parseFile(), and parseStmt(). |
The documentation for this class was generated from the following files:
