Bug 38481 getters/setters: insertion point incorrect
20020604 public class Ad { void f(){} int foo; int foo1; int foo2; } i seleced f() as the insert point and it added the getter after all the fields
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
combo.add(JavaElementLabels.getElementLabel(methods[i], JavaElementLabels.M_PARAMETER_TYPES));
				
				currDiff= presetOffset - curr.getSourceRange().getOffset();
				if (currDiff >= 0)
					if(currDiff < bestDiff) {
						bestDiff= currDiff;
						position= i + 2;	
					}
					else
						break;
			}	
			
			int index= getContentProvider().getInsertPosition();
			if ((index == 0) || (index == 1))
				combo.select(index);
			else			
				combo.select(position);
			setInsertionIndex(combo.getSelectionIndex());
		} catch (JavaModelException e) {
		}	
	}
	
	/*
	 * Determine where in the file to enter the newly created methods.
	 */
	public IJavaElement getElementPosition() {
		int comboBoxIndex= getInsertionIndex();		
		
		try {
			if (comboBoxIndex == 0)