Bug 74614 Code formatter preference page: bogus preview code
3.1 M2: Code Formatter > White Space > Parameterized type > Parameterized type Preview: "Map<String, Element> map = new<String, Element> HashMap();" is wrong. BTW, in tree double "Parameterized type" is ugly, why not use something like "Type" on the second level.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/WhiteSpaceOptions.java
roots.add(element);
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.between_empty_parens");         
        createBetweenEmptyParenTree(workingValues, element);
        roots.add(element);
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.between_empty_braces");         
        createBetweenEmptyBracesTree(workingValues, element);
        roots.add(element);
        
        element= new InnerNode(null, workingValues, "WhiteSpaceOptions.between_empty_brackets");         
        createBetweenEmptyBracketsTree(workingValues, element);
        roots.add(element);
        return roots;
	}
	
    /**
     * Create the tree, in this order: position - syntax element - abstract
     * element
     * @param workingValues
     * @return returns roots (type <code>Node</code>)
     */
    public static List createAltTree(Map workingValues) {
        final ArrayList roots= new ArrayList();
        
        InnerNode parent;
        
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.before_opening_paren"); 
        createBeforeOpenParenTree(workingValues, parent);
        parent= createParentNode(roots, workingValues, "WhiteSpaceOptions.after_opening_paren"); 
        createAfterOpenParenTree(workingValues, parent);