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 void setInsertionIndex(int index) {
		fInsertionIndex = index;
	}
	
	public boolean getGenerateComment() {
		return fGenerateComment;
	}
	
	private void setGenerateComment(boolean comment) {
		fGenerateComment= comment;
	}
	
	/**
	 * Sets the size of the tree in unit of characters.
	 * @param width  the width of the tree.
	 * @param height the height of the tree.
	 */
	public void setSize(int width, int height) {
		fWidth = width;
		fHeight = height;
	}		
	
	protected Composite createSelectionButtons(Composite composite) {
		Composite buttonComposite= super.createSelectionButtons(composite);
		GridLayout layout = new GridLayout();
		buttonComposite.setLayout(layout);						
		layout.marginHeight= 0;
		layout.marginWidth= 0;						
		layout.numColumns= 1;