Bug 42143 Dialogs for source actions do not use dialog font [dialogs]
select a cu in package explorer context menu "Source": "Override/Implement methods..." "Generate Getters and Setters..." "Generate Delegate methods..." "Add constructor from superclass..." "Generate constructor using fields..."
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateNewConstructorUsingFieldsAction.java
try {
				IRunnableContext context= JavaPlugin.getActiveWorkbenchWindow();
				if (context == null) {
					context= new BusyIndicatorRunnableContext();
				}
				context.run(false, true, new WorkbenchRunnableAdapter(op));
				IMethod res= op.getCreatedConstructor();
				if (res.getCompilationUnit().isWorkingCopy()) {
					synchronized (res.getCompilationUnit()) {
						res.getCompilationUnit().reconcile();
					}
				}
				EditorUtility.revealInEditor(editor, res);
			} catch (InvocationTargetException e) {
				ExceptionHandler.handle(e, getShell(), getDialogTitle(), null);
			} catch (InterruptedException e) {
				
			} finally {
				if (target != null) {
					target.endCompoundChange();
				}
			}
		}
	}
	
	public static IMethod[] getSuperConstructors(IType type) throws CoreException {
		List constructorMethods= new ArrayList();
		
		ITypeHierarchy hierarchy= type.newSupertypeHierarchy(null);				
		IType supertype= hierarchy.getSuperclass(type);