IMember[] matchingMethods= getPullUpMethodsRefactoring().getMatchingElements(); ITypeHierarchy hierarchy= getPullUpMethodsRefactoring().getSuperType().newTypeHierarchy(new NullProgressMonitor());
IMember[] matchingMethods= getPullUpMethodsRefactoring().getMatchingElements(new NullProgressMonitor()); ITypeHierarchy hierarchy= getPullUpMethodsRefactoring().getSuperTypeHierarchy(new NullProgressMonitor());
	private CheckboxTreeViewer createTreeViewer(Composite composite) {		Tree tree= new Tree(composite, SWT.CHECK | SWT.BORDER | SWT.MULTI | SWT.V_SCROLL | SWT.H_SCROLL);		tree.setLayoutData(new GridData(GridData.FILL_BOTH));		final CheckboxTreeViewer treeViever= new PullUpTreeViewer(tree);		treeViever.setLabelProvider(new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT));		treeViever.setUseHashlookup(true);				//XXX pm		try{			fMarkedMethods.addAll(Arrays.asList(getPullUpMethodsRefactoring().getElementsToPullUp()));			IMember[] matchingMethods= getPullUpMethodsRefactoring().getMatchingElements();			ITypeHierarchy hierarchy= getPullUpMethodsRefactoring().getSuperType().newTypeHierarchy(new NullProgressMonitor());			treeViever.addFilter(new PullUpFilter(hierarchy, matchingMethods));				treeViever.setContentProvider(new PullUpHierarchyContentProvider(matchingMethods));			treeViever.setInput(hierarchy);					} catch (JavaModelException e){			ExceptionHandler.handle(e, "Pull Up Methods", "Unexpected exception. See log for details.");			treeViever.setInput(null);		}			treeViever.expandAll();		treeViever.addSelectionChangedListener(new ISelectionChangedListener() {			public void selectionChanged(SelectionChangedEvent event) {				PullUpInputPage.this.selectionChanged(event);			}		});		return treeViever;	}