insertion= (MethodDeclaration) ASTNodes.getParent(NodeFinder.perform(rewrite.getParent().getRoot(), ((IMethod) fInsert).getNameRange()), MethodDeclaration.class);
insertion= ASTNodes.getParent(NodeFinder.perform(rewrite.getParent().getRoot(), ((IMethod) fInsert).getNameRange()), MethodDeclaration.class);
	private void generateGetterMethod(final IField field, final ListRewrite rewrite) throws CoreException, OperationCanceledException {		final IType type= field.getDeclaringType();		final String name= GetterSetterUtil.getGetterName(field, null);		final IMethod existing= JavaModelUtil.findMethod(name, EMPTY_STRINGS, false, type);		if (existing == null || !querySkipExistingMethods(existing)) {			IJavaElement sibling= null;			if (existing != null) {				sibling= StubUtility.findNextSibling(existing);				removeExistingAccessor(existing, rewrite);			} else				sibling= fInsert;			ASTNode insertion= null;			if (sibling instanceof IMethod)				insertion= (MethodDeclaration) ASTNodes.getParent(NodeFinder.perform(rewrite.getParent().getRoot(), ((IMethod) fInsert).getNameRange()), MethodDeclaration.class);			addNewAccessor(type, field, GetterSetterUtil.getGetterStub(field, name, fSettings.createComments, fVisibility | (field.getFlags() & Flags.AccStatic)), rewrite, insertion);		}	}