1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
5 #include "cmConfigure.h" // IWYU pragma: keep
11 #include "cmDepends.h"
13 /** \class cmDependsJava
14 * \brief Dependency scanner for Java class files.
16 class cmDependsJava : public cmDepends
19 /** Checking instances need to know the build directory name and the
20 relative path from the build directory to the target file. */
23 /** Virtual destructor to cleanup subclasses properly. */
24 ~cmDependsJava() override;
26 cmDependsJava(cmDependsJava const&) = delete;
27 cmDependsJava& operator=(cmDependsJava const&) = delete;
30 // Implement writing/checking methods required by superclass.
31 bool WriteDependencies(const std::set<std::string>& sources,
32 const std::string& file, std::ostream& makeDepends,
33 std::ostream& internalDepends) override;
34 bool CheckDependencies(std::istream& internalDepends,
35 const std::string& internalDependsFileName,
36 DependencyMap& validDeps) override;