Bug 177787 Incorrect Javadoc in org.eclipse.jface.preference.PreferenceNode
The javadoc for the field classname in PreferenceNode states: /** * Name of class that implements <code>IPreferenceNode</code>, or * <code>null</code> if none. */ The class name stored in this variable actually implements IPreferencePage as used in createPage(): page = (IPreferencePage) createObject(classname);
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceNode.java
return null;
    }
    /*
     * (non-Javadoc) Method declared on IPreferenceNode.
     */
    public void createPage() {
        page = (IPreferencePage) createObject(classname);
        if (getLabelImage() != null) {
			page.setImageDescriptor(imageDescriptor);
		}
        page.setTitle(label);
    }
    /**
     * (non-Javadoc) Method declared on IPreferenceNode.
     */
    public void disposeResources() {
        if (image != null) {
            image.dispose();
            image = null;
        }
        if (page != null) {
            page.dispose();
            page = null;
        }
    }
    /*
     * (non-Javadoc) Method declared on IContributionNode.
     */
    public IPreferenceNode findSubNode(String id) {
        Assert.isNotNull(id);