I would like to add the following statement to my AST using JavaParser. I already read the manual and I know how to do simple examples. However, I could not find anything related to creating new objects. I am wondering if anyone could help me with that.
PrintWriter out = new PrintWriter(new FileWriter("path", true));