* added classes for loading a Sonargraph project * added Sonargraph options to project setup wizard * added test for generating indexer commands from Sonargraph modules * fixed sqlite storage crashing in constructor when parent directory of provided path does not exist * removed unused FileRegister from Java indexing * removed unused info from IndexerCommandJava * refactored loading and saving of SourceGroupSettings * extracted sourcepaths settings to own class that can be re-used * merged CDB wizard contentents for source file and indexed paths * unified wizard content for sonargraph project path * removed include filters from default source groups * extracted generation of RefreshInfo from Project to RefreshInfoGenerator * added tests for RefreshInfoGenerator * added language and standard selection to sonargraph project setup * added auto-detection for indexed header paths of sonargraph cmake json modules * Sonargraph::Project can enable/disable support for specific modules * warn if sonargraph project contains no matching modules * indexed headers can be detected from sonargraph project
37 lines
864 B
C++
37 lines
864 B
C++
#ifndef INDEXER_COMMAND_JAVA_H
|
|
#define INDEXER_COMMAND_JAVA_H
|
|
|
|
#include <vector>
|
|
|
|
#include "data/indexer/IndexerCommand.h"
|
|
|
|
class FilePath;
|
|
|
|
class IndexerCommandJava
|
|
: public IndexerCommand
|
|
{
|
|
public:
|
|
static IndexerCommandType getStaticIndexerCommandType();
|
|
|
|
IndexerCommandJava(
|
|
const FilePath& sourceFilePath,
|
|
const std::set<FilePath>& indexedPaths,
|
|
const std::set<FilePathFilter>& excludeFilters,
|
|
const std::string& languageStandard,
|
|
const std::vector<FilePath>& classPath);
|
|
virtual ~IndexerCommandJava();
|
|
|
|
virtual IndexerCommandType getIndexerCommandType() const override;
|
|
virtual size_t getByteSize(size_t stringSize) const override;
|
|
|
|
std::string getLanguageStandard() const;
|
|
|
|
std::vector<FilePath> getClassPath() const;
|
|
|
|
private:
|
|
const std::string m_languageStandard;
|
|
std::vector<FilePath> m_classPath;
|
|
};
|
|
|
|
#endif // INDEXER_COMMAND_JAVA_H
|