/** * Creates a root class pool. If <code>useDefaultPath</code> is * true, <code>appendSystemPath()</code> is called. Otherwise, * this constructor is equivalent to the constructor taking no * parameter. * * @param useDefaultPath true if the system search path is * appended. */ public ClassPool(boolean useDefaultPath) { this(null); if (useDefaultPath) appendSystemPath(); }
if (defaultPool == null) { defaultPool = new ClassPool(null); defaultPool.appendSystemPath();