public AntClassLoader(ClassLoader parent, Project project, Path classpath, boolean parentFirst) { this(project, classpath); if (parent != null) { setParent(parent); } setParentFirst(parentFirst); addJavaLibraries();
public AntClassLoader( ClassLoader parent, Project project, Path classpath) { super(parent == null ? AntClassLoader.class.getClassLoader() : parent); this.parent = getParent(); setClassPath(classpath); setProject(project);
    public AntClassLoader(ClassLoader parent, Project project, Path classpath,                          boolean parentFirst) {        this(project, classpath);        if (parent != null) {            setParent(parent);        }        setParentFirst(parentFirst);        addJavaLibraries();    }