#include <javaimport.h>
Java code import
- Author
- Oliver Kellogg
-
JP Fournier Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ JavaImport()
◆ ~JavaImport()
JavaImport::~JavaImport |
( |
| ) |
|
|
virtual |
◆ fillSource()
◆ findObject()
Returns the UML Object if found, or null otherwise.
- Parameters
-
name | name of the uml object |
parentPkg | parent package |
- Returns
- null or the uml objecct
◆ initVars()
void JavaImport::initVars |
( |
| ) |
|
|
protectedvirtual |
◆ joinTypename()
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.
- Parameters
-
- Returns
- the type name with the additional information
◆ parseFile()
Keep track of the current file being parsed and reset the list of imports.
- Parameters
-
filename | the name of the file being parsed |
Reimplemented from NativeImportBase.
◆ parseStmt()
bool JavaImport::parseStmt |
( |
| ) |
|
|
protectedvirtual |
◆ resolveClass()
Try to resolve the specified class the current class depends on.
- Parameters
-
className | the name of the class |
◆ spawnImport()
Spawn off an import of the specified file.
- Parameters
-
◆ m_currentFileName
QString JavaImport::m_currentFileName |
|
protected |
current filename being parsed
◆ m_currentPackage
QString JavaImport::m_currentPackage |
|
protected |
current package of the file being parsed
◆ m_defaultCurrentAccess
current visibility for when the visibility is absent
◆ m_imports
imports included in the current file
◆ m_isStatic
bool JavaImport::m_isStatic |
|
protected |
static flag for the member var or method
◆ s_filesAlreadyParsed
Keep track of the files we have already parsed so we don't reparse the same ones over and over again.
◆ s_parseDepth
int JavaImport::s_parseDepth = 0 |
|
staticprotected |
Keep track of the parses so that the filesAlreadyParsed can be reset when we're done.
The documentation for this class was generated from the following files: