Bug 81059 [5.0] Preview on method declaration in annotation with int return value leads to platfrom crash
Using I200412142000 public @interface RequestForEnhancement { int id(); String synopsis(); String engineer() default "[unassigned]"; String date(); default "[unimplemented]"; } On renaming id() to id2 and pressing 'preview', the platform freezes and does no longer respond.
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/PreviewWizardPage.java
}
			super.setVisible(visible);
			fTreeViewer.getControl().setFocus();
		} else {
			fPageContainer.showPage(fNullPage);
			super.setVisible(visible);
		}
		getRefactoringWizard().internalSetPreviewShown(InternalAPI.INSTANCE, visible);
	}
	
	private ChangeElement getFirstNonCompositeChange(ITreeContentProvider provider, ChangeElement input) {
		ChangeElement focus= input;
		Change change= input.getChange();
		while (change != null && change instanceof CompositeChange) {
			ChangeElement[] children= (ChangeElement[])provider.getElements(focus);
			if (children != null && children.length > 0) {
				focus= children[0];
				change= focus.getChange();
			}
		}
		return focus;
	}
	
	private void setTreeViewerInput() {
		if (fTreeViewer == null)
			return;
		ChangeElement input= null;
		if (fTreeViewerInputChange != null) {
			input= new DefaultChangeElement(null, fTreeViewerInputChange);
		}