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
private int fInsertionIndex;
	private CompilationUnitEditor fEditor;
	private ISourceActionContentProvider fContentProvider;
	private boolean fGenerateComment;
	private IType fType;
	private int fWidth = 60;
	private int fHeight = 18;
	private String fCommentString;
	public SourceActionDialog(Shell parent, ILabelProvider labelProvider, ISourceActionContentProvider contentProvider, CompilationUnitEditor editor, IType type) {
		super(parent, labelProvider, contentProvider);
		fEditor= editor;
		fContentProvider= contentProvider;		
		fType= type;
		fCommentString= ActionMessages.getString("SourceActionDialog.createMethodComment"); 
		
		
		CodeGenerationSettings settings= JavaPreferencesSettings.getCodeGenerationSettings();
		GenStubSettings genStubSettings= new GenStubSettings(settings);
		fGenerateComment= genStubSettings.createComments;		
	}
	public void setCommentString(String string) {
		fCommentString= string;
	}
		
	protected ISourceActionContentProvider getContentProvider() {
		return fContentProvider;
	}
	public int getInsertionIndex() {
		return fInsertionIndex;
	}