@SuppressWarnings("unchecked")
    protected static Project createAntProject() {
        final Project project = new Project();

        final ProjectHelper helper = ProjectHelper.getProjectHelper();
        project.addReference(ProjectHelper.PROJECTHELPER_REFERENCE, helper);
        helper.getImportStack().addElement("AntBuilder"); // import checks that stack is not empty

        addMicronautConsoleBuildListener(project);

        project.init();
        project.getBaseDir();
        return project;
    }
@ SuppressWarnings ( "unchecked" ) protected static Project createAntProject ( ) { final Project project = new Project ( ) ; final ProjectHelper helper = ProjectHelper . getProjectHelper ( ) ; project . addReference ( ProjectHelper . PROJECTHELPER_REFERENCE , helper ) ; helper . getImportStack ( ) . addElement ( "AntBuilder" ) ; addMicronautConsoleBuildListener ( project ) ; project . init ( ) ; project . getBaseDir ( ) ; return project ; }
@return Factory method to create new Project instances