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/WhiteSpaceTabPage.java
private final String PREF_INNER_INDEX= JavaUI.ID_PLUGIN + "formatter_page.white_space.java_view.inner";  
		private final String PREF_OPTION_INDEX= JavaUI.ID_PLUGIN + "formatter_page.white_space.java_view.option"; 
		
	    private final ArrayList fIndexedNodeList;
	    private final ArrayList fTree;
	    
	    private InnerNode fLastSelected;
	    
	    private TreeViewer fInnerViewer;
	    private CheckboxTableViewer fOptionsViewer;
	    
	    private Composite fComposite;
	    
	    public JavaElementComponent() {
			fIndexedNodeList= new ArrayList();
			fTree= WhiteSpaceOptions.createTreeByJavaElement(fWorkingValues);
			WhiteSpaceOptions.makeIndexForNodes(fTree, fIndexedNodeList);
	    }
	    public void createContents(int numColumns, Composite parent) {
			
			fComposite= new Composite(parent, SWT.NONE);
			fComposite.setLayoutData(createGridData(numColumns, GridData.HORIZONTAL_ALIGN_FILL, SWT.DEFAULT));
			fComposite.setLayout(createGridLayout(numColumns, false));
			
            createLabel(numColumns, fComposite, FormatterMessages.getString("WhiteSpaceTabPage.insert_space"), GridData.HORIZONTAL_ALIGN_BEGINNING); 
			
			final SashForm sashForm= new SashForm(fComposite, SWT.VERTICAL);
			sashForm.setLayoutData(createGridData(numColumns, GridData.FILL_BOTH, SWT.DEFAULT));