CppProjectImpl (@NotNull org.gradle.tooling.model.cpp.CppProject gradleCppProject) { CppProjectImpl cppProject = new CppProjectImpl(); cppProject.setMainComponent(convert(gradleCppProject.getMainComponent())); cppProject.setTestComponent((CppTestSuite)convert(gradleCppProject.getTestComponent())); return cppProject; }