private TextEdit createEdit(String[] lines, IParent container) {
private MemberEdit createEdit(String[] lines, IParent container) {
	private TextEdit createEdit(String[] lines, IParent container) {				// find a child where to insert before		IJavaElement[] children= null;		try {			children= container.getChildren();		} catch(JavaModelException ex) {		}		if (children != null) {			IJavaElement candidate= null;			for (int i= 0; i < children.length; i++) {				IJavaElement chld= children[i];								switch (chld.getElementType()) {				case IJavaElement.PACKAGE_DECLARATION:				case IJavaElement.IMPORT_CONTAINER:					// skip these but remember the last of them					candidate= chld;					continue;				default:					return new MemberEdit(chld, MemberEdit.INSERT_BEFORE, lines,											CodeFormatterPreferencePage.getTabSize());				}			}			if (candidate != null)				return new MemberEdit(candidate, MemberEdit.INSERT_AFTER, lines,											CodeFormatterPreferencePage.getTabSize());		}				// no children: insert at end (but before closing bracket)		if (container instanceof IJavaElement)			return new MemberEdit((IJavaElement)container, MemberEdit.ADD_AT_END, lines,											CodeFormatterPreferencePage.getTabSize());													return null;	}