Bug 66967 [Contributions] PropertyParser should be deprecated (or removed)
Internal class org.eclipse.ui.ide/org.eclipse.ui.internal.ide.model/PropertyParser should be deprecated. People should be using the extension point org.eclipse.core.runtime.contentTypes instead Note that the tags XML_FIRST_TAG and XML_DTD_NAME have already been deprecated. Can we actually remove these instead of deprecating them?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/model/WorkbenchResource.java
* @param persistentFlag
     *            <code>true</code> for a persistent property, <code>false</code>
     *            for a session property
     * @param projectFlag
     *            <code>true</code> to check the resource's project,
     *            <code>false</code> to check the resource itself
     * @param value
     *            the attribute value, which has either the form "propertyName" or
     *            "propertyName=propertyValue"
     * @return whether there is a match
     */
    private boolean testProperty(IResource resource, boolean persistentFlag,
            boolean projectFlag, String value) {
        String propertyName;
        String expectedVal;
        int i = value.indexOf('=');
        if (i != -1) {
            propertyName = value.substring(0, i).trim();
            expectedVal = value.substring(i + 1).trim();
        } else {
            propertyName = value.trim();
            expectedVal = null;
        }
        try {
            QualifiedName key;
            int dot = propertyName.lastIndexOf('.');
            if (dot != -1) {
                key = new QualifiedName(propertyName.substring(0, dot),
                        propertyName.substring(dot + 1));
            } else {