logic: added all previous java version to Java language standard selection
This commit is contained in:
@@ -9,9 +9,11 @@ IndexerCommandJava::IndexerCommandJava(
|
||||
const FilePath& sourceFilePath,
|
||||
const std::set<FilePath>& indexedPaths,
|
||||
const std::set<FilePath>& excludedPaths,
|
||||
const std::string& languageStandard,
|
||||
const std::vector<FilePath>& classPath
|
||||
)
|
||||
: IndexerCommand(sourceFilePath, indexedPaths, excludedPaths)
|
||||
, m_languageStandard(languageStandard)
|
||||
, m_classPath(classPath)
|
||||
{
|
||||
}
|
||||
@@ -37,6 +39,11 @@ size_t IndexerCommandJava::getByteSize(size_t stringSize) const
|
||||
return size;
|
||||
}
|
||||
|
||||
std::string IndexerCommandJava::getLanguageStandard() const
|
||||
{
|
||||
return m_languageStandard;
|
||||
}
|
||||
|
||||
std::vector<FilePath> IndexerCommandJava::getClassPath() const
|
||||
{
|
||||
return m_classPath;
|
||||
|
||||
@@ -17,15 +17,19 @@ public:
|
||||
const FilePath& sourceFilePath,
|
||||
const std::set<FilePath>& indexedPaths,
|
||||
const std::set<FilePath>& excludedPaths,
|
||||
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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user