private void createField(MemberActionInfo info, List bodyDeclarations, CompilationUnit declaringCuNode, OldASTRewrite rewrite) throws JavaModelException { FieldDeclaration newField= createNewFieldDeclarationNode(info, declaringCuNode, rewrite); rewrite.markAsInserted(newField); bodyDeclarations.add(ASTNodes.getInsertionIndex(newField, bodyDeclarations), newField);
private void createField(MemberActionInfo info, TypeDeclaration declaration, CompilationUnit declaringCuNode, TypeVariableMaplet[] mapping, ASTRewrite rewrite) throws JavaModelException { FieldDeclaration newField= createNewFieldDeclarationNode(info, declaringCuNode, mapping, rewrite); rewrite.getListRewrite(declaration, TypeDeclaration.BODY_DECLARATIONS_PROPERTY).insertAt(newField, ASTNodes.getInsertionIndex(newField, declaration.bodyDeclarations()), null);
	private void createField(MemberActionInfo info, List bodyDeclarations, CompilationUnit declaringCuNode, OldASTRewrite rewrite) throws JavaModelException {		FieldDeclaration newField= createNewFieldDeclarationNode(info, declaringCuNode, rewrite);		rewrite.markAsInserted(newField);		bodyDeclarations.add(ASTNodes.getInsertionIndex(newField, bodyDeclarations), newField);	}