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
}
	}
	
	private static class CreateNewConstructorValidator implements ISelectionStatusValidator {
		private static int fEntries;
			
		CreateNewConstructorValidator(int entries) {
			super();
			fEntries= entries;
		}
		public IStatus validate(Object[] selection) {
			int count= countSelectedFields(selection);
			String message= ActionMessages.getFormattedString("CreateNewConstructorAction.fields_selected", 
																new Object[] { String.valueOf(count), String.valueOf(fEntries)} ); 																	
			return new StatusInfo(IStatus.INFO, message);
		}
		private int countSelectedFields(Object[] selection){
			int count= 0;
			for (int i = 0; i < selection.length; i++) {
				if (selection[i] instanceof IField)
					count++;
			}
			return count;
		}		
	}	
	
	private static class CreateNewConstructorSelectionDialog extends SourceActionDialog {
		private CreateNewConstructorContentProvider fContentProvider;
		private IType fType;
		private int fSuperIndex;