Bug 39906 Add Constructurs from field: Should not show static fields
20030711 Static fields are usually not initialized in constructors
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/CreateNewConstructorAction.java
import org.eclipse.jdt.internal.ui.actions.ActionMessages;
import org.eclipse.jdt.internal.ui.actions.ActionUtil;
import org.eclipse.jdt.internal.ui.actions.SelectionConverter;
import org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter;
import org.eclipse.jdt.internal.ui.dialogs.SourceActionDialog;
import org.eclipse.jdt.internal.ui.dialogs.StatusInfo;
import org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor;
import org.eclipse.jdt.internal.ui.javaeditor.EditorUtility;
import org.eclipse.jdt.internal.ui.preferences.JavaPreferencesSettings;
import org.eclipse.jdt.internal.ui.util.BusyIndicatorRunnableContext;
import org.eclipse.jdt.internal.ui.util.ElementValidator;
import org.eclipse.jdt.internal.ui.util.ExceptionHandler;
import org.eclipse.jdt.internal.ui.viewsupport.JavaElementLabels;
public class CreateNewConstructorAction extends SelectionDispatchAction {
	
	private CompilationUnitEditor fEditor;
	private static final String fDialogTitle= ActionMessages.getString("CreateNewConstructorAction.error.title"); 
	
	/**
	 * Creates a new <code>CreateNewConstructorAction</code>. The action requires
	 * that the selection provided by the site's selection provider is of type <code>
	 * org.eclipse.jface.viewers.IStructuredSelection</code>.
	 * 
	 * @param site the site providing context information for this action
	 */
	public CreateNewConstructorAction(IWorkbenchSite site) {
		super(site);
		setText(ActionMessages.getString("CreateNewConstructorAction.label")); 
		setDescription(ActionMessages.getString("CreateNewConstructorAction.description")); 
		setToolTipText(ActionMessages.getString("CreateNewConstructorAction.tooltip"));