Bug 86602 AddDelegateMethodsActions
With the next integration build isInterface returns true for annotations. Some of the isInterface || && isAnnotation checks can be simplified now.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddDelegateMethodsAction.java
public AddDelegateMethodsDialog(Shell parent, ILabelProvider labelProvider, ITreeContentProvider contentProvider, CompilationUnitEditor editor, IType type, boolean isConstructor) throws JavaModelException {
			super(parent, labelProvider, contentProvider, editor, type, isConstructor);
		}
		/*
		 * @see org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog#createLinkControl(org.eclipse.swt.widgets.Composite)
		 */
		protected Control createLinkControl(Composite composite) {
			final Control control= createLinkText(composite, new Object[] { JavaUIMessages.getString("DelegateMethodDialog.link.text.before"), new String[] { JavaUIMessages.getString("DelegateMethodDialog.link.text.middle"), "org.eclipse.jdt.ui.preferences.CodeTemplatePreferencePage", "methodcomment", JavaUIMessages.getString("DelegateMethodDialog.link.tooltip")}, JavaUIMessages.getString("DelegateMethodDialog.link.text.after")}); 
			final GridData data= new GridData(SWT.FILL, SWT.BEGINNING, true, false);
			data.widthHint= 150; 
												
			control.setLayoutData(data);
			return control;
		}
	}
	private static class AddDelegateMethodsLabelProvider extends BindingLabelProvider {