2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 BogDan Vatra <bog_dan_ro@yahoo.com>
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2012-04-18 20:30:57 +03:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2012-08-09 01:56:51 +02:00
|
|
|
|
2012-04-18 20:30:57 +03:00
|
|
|
#include <projectexplorer/ioutputparser.h>
|
|
|
|
|
|
2022-09-27 08:54:23 +02:00
|
|
|
#include <utils/filepath.h>
|
2017-03-09 23:02:32 +01:00
|
|
|
|
2022-09-27 08:54:23 +02:00
|
|
|
namespace Android::Internal {
|
2012-04-18 20:30:57 +03:00
|
|
|
|
2020-04-15 14:59:51 +02:00
|
|
|
class JavaParser : public ProjectExplorer::OutputTaskParser
|
2012-04-18 20:30:57 +03:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
JavaParser();
|
2012-08-09 01:56:51 +02:00
|
|
|
|
2021-05-05 16:33:31 +02:00
|
|
|
void setProjectFileList(const Utils::FilePaths &fileList);
|
2019-05-28 13:49:26 +02:00
|
|
|
void setBuildDirectory(const Utils::FilePath &buildDirectory);
|
|
|
|
|
void setSourceDirectory(const Utils::FilePath &sourceDirectory);
|
2014-01-08 09:33:21 +01:00
|
|
|
|
2012-04-18 20:30:57 +03:00
|
|
|
private:
|
2022-09-27 08:54:23 +02:00
|
|
|
Result handleLine(const QString &line, Utils::OutputFormat type) final;
|
2013-04-02 15:17:55 +02:00
|
|
|
|
2021-05-05 16:33:31 +02:00
|
|
|
Utils::FilePaths m_fileList;
|
2019-05-28 13:49:26 +02:00
|
|
|
Utils::FilePath m_sourceDirectory;
|
|
|
|
|
Utils::FilePath m_buildDirectory;
|
2012-04-18 20:30:57 +03:00
|
|
|
};
|
|
|
|
|
|
2022-09-27 08:54:23 +02:00
|
|
|
} // Android::Internal
|