forked from qt-creator/qt-creator
Android: Clean up JavaParser a bit
Change-Id: I8d5113c7916f816d34a1eacc0b978645d710b2be Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -4,17 +4,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <projectexplorer/ioutputparser.h>
|
||||
#include <utils/fileutils.h>
|
||||
|
||||
#include <QRegularExpression>
|
||||
#include <utils/filepath.h>
|
||||
|
||||
namespace Android {
|
||||
namespace Internal {
|
||||
namespace Android::Internal {
|
||||
|
||||
class JavaParser : public ProjectExplorer::OutputTaskParser
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
JavaParser();
|
||||
|
||||
@@ -23,13 +19,11 @@ public:
|
||||
void setSourceDirectory(const Utils::FilePath &sourceDirectory);
|
||||
|
||||
private:
|
||||
Result handleLine(const QString &line, Utils::OutputFormat type) override;
|
||||
Result handleLine(const QString &line, Utils::OutputFormat type) final;
|
||||
|
||||
const QRegularExpression m_javaRegExp;
|
||||
Utils::FilePaths m_fileList;
|
||||
Utils::FilePath m_sourceDirectory;
|
||||
Utils::FilePath m_buildDirectory;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Android
|
||||
} // Android::Internal
|
||||
|
||||
Reference in New Issue
Block a user