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
Assert.isTrue(id.length() > 0);
        if (subNodes == null) {
			return null;
		}
        int size = subNodes.size();
        for (int i = 0; i < size; i++) {
            IPreferenceNode node = (IPreferenceNode) subNodes.get(i);
            if (id.equals(node.getId())) {
				return node;
			}
        }
        return null;
    }
    /*
     * (non-Javadoc) Method declared on IPreferenceNode.
     */
    public String getId() {
        return this.id;
    }
    /**
     * Returns the image descriptor for this node.
     * 
     * @return the image descriptor
     */
    protected ImageDescriptor getImageDescriptor() {
        return imageDescriptor;
    }
    /*
     * (non-Javadoc) Method declared on IPreferenceNode.
     */