Buggy code:
public class ConfigurationWizardSelectionPage extends WizardSelectionPage { private static final int CONTAINERTYPEDESCRIPTION_ERROR_CODE = 333 ; protected IWorkbench workbench ; protected TreeViewer treeViewer ; protected ConfigurationWizardSelectionPage . CategorizedWizardSelectionTree wizardSelectionTree ; protected IStructuredSelection currentResourceSelection ; protected IWorkbench getWorkbench ( ) { } protected TreeViewer getTreeViewer ( ) { } protected void setTreeViewer ( TreeViewer viewer ) { } protected class CategorizedWizardSelectionTree { private static final int SIZING_LISTS_HEIGHT = 200 ; private IWizardCategory wizardCategories ; private String message ; private TreeViewer viewer ; protected CategorizedWizardSelectionTree ( IWizardCategory categories , String msg ) { } protected Composite createControl ( Composite parent ) { } private void createFilteredTree ( Composite parent ) { <START_BUG> FilteredTree filteredTree = new FilteredTree ( parent , ( ( ( ( SWT . SINGLE ) | ( SWT . H_SCROLL ) ) | ( SWT . V_SCROLL ) ) | ( SWT . BORDER ) ) , new ConfigurationWizardSelectionPage . CategorizedWizardSelectionTree . WizardPatternFilter ( ) , false ) ; <END_BUG> viewer = filteredTree . getViewer ( ) ; filteredTree . setFont ( parent . getFont ( ) ) ; viewer . setContentProvider ( new WizardContentProvider ( ) ) ; viewer . setLabelProvider ( new WorkbenchLabelProvider ( ) ) ; viewer . setComparator ( new ViewerComparator ( ) { public int category ( Object element ) { if ( element instanceof WizardCollectionElement ) { String id = ( ( WizardCollectionElement ) ( element ) ) . getId ( ) ; String wizardCategory = Messages . ConfigurationWizardSelectionPage_WIZARD_CATEGORY ; if ( ( wizardCategory != null ) && ( wizardCategory . equals ( id ) ) ) return 1 ; String uncategorizedCategory = Messages . ConfigurationWizardSelectionPage_UNCATEGORIZED_WIZARD_CATEGORY ; if ( ( uncategorizedCategory != null ) && ( uncategorizedCategory . equals ( id ) ) ) return 3 ; return 2 ; } return super . category ( element ) ; } } ) ; ArrayList inputArray = new ArrayList ( ) ; boolean expandTop = false ; if ( ( wizardCategories ) != null ) { if ( ( wizardCategories . getParent ( ) ) == null ) { IWizardCategory [ ] children = wizardCategories . getCategories ( ) ; for ( int i = 0 ; i < ( children . length ) ; i ++ ) { inputArray . add ( children [ i ] ) ; } } else { expandTop = true ; inputArray . add ( wizardCategories ) ; } } if ( expandTop ) { viewer . setAutoExpandLevel ( 2 ) ; } AdaptableList input = new AdaptableList ( inputArray ) ; viewer . addFilter ( new WizardActivityFilter ( ) ) ; viewer . setInput ( input ) ; } protected class WizardPatternFilter extends PatternFilter { public WizardPatternFilter ( ) { } public boolean isElementSelectable ( Object element ) { } protected boolean isLeafMatch ( Viewer v , Object element ) { } } protected TreeViewer getViewer ( ) { } private void layoutTopControl ( Control control ) { } } public ConfigurationWizardSelectionPage ( IWorkbench workbench , IStructuredSelection selection ) { } protected ITriggerPoint getTriggerPoint ( ) { } protected ContainerConfigurationResult getContainerResult ( ) { } private ContainerTypeDescription getContainerTypeDescriptionForElement ( WorkbenchWizardElement element ) { } protected void updateSelectedNode ( WorkbenchWizardElement wizardElement ) { } protected IWizardCategory getRootCategory ( ) { } public IWizardPage getNextPage ( ) { } protected Composite createTreeViewer ( Composite parent ) { } protected void treeDoubleClicked ( DoubleClickEvent event ) { } protected void listSelectionChanged ( ISelection selection ) { } protected void updateMessage ( ) { } public void createControl ( Composite parent ) { } }

Fix:
FilteredTree filteredTree = new FilteredTree ( parent , ( ( ( ( SWT . SINGLE ) | ( SWT . H_SCROLL ) ) | ( SWT . V_SCROLL ) ) | ( SWT . BORDER ) ) , new ConfigurationWizardSelectionPage . CategorizedWizardSelectionTree . WizardPatternFilter ( ) ) ;