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
try {
			IJavaElement[] elements= SelectionConverter.codeResolve(fEditor);			
			if (elements.length == 1 && (elements[0] instanceof IField)) {
				IField field= (IField)elements[0];
				run(field.getDeclaringType(), new IField[] {field}, fEditor, false);
				return;
			}
			IJavaElement element= SelectionConverter.getElementAtOffset(fEditor);
			
			if (element != null){
				IType type= (IType)element.getAncestor(IJavaElement.TYPE);
				if (type != null) {
					if (type.getFields().length > 0) {
						run(type, new IField[0], fEditor, true);
						return;
					} 
				}
			} 
			MessageDialog.openInformation(getShell(), fDialogTitle, 
				ActionMessages.getString("CreateNewConstructorAction.not_applicable")); 
		} catch (CoreException e) {
			ExceptionHandler.handle(e, getShell(), getDialogTitle(), null);
		}		
	}
	
	private boolean checkEnabledEditor() {
		return fEditor != null && SelectionConverter.canOperateOn(fEditor);
	}