Java Examples for com.strobel.decompiler.languages.java.ast.InsertParenthesesVisitor

The following java examples will help you to understand the usage of com.strobel.decompiler.languages.java.ast.InsertParenthesesVisitor. These source code samples are taken from different open source projects.

Example 1
Project: Wurst-Enigma-master  File: Deobfuscator.java View source code
public String getSource(CompilationUnit sourceTree) {
    // render the AST into source
    StringWriter buf = new StringWriter();
    sourceTree.acceptVisitor(new InsertParenthesesVisitor(), null);
    sourceTree.acceptVisitor(new JavaOutputVisitor(new PlainTextOutput(buf), m_settings), null);
    return buf.toString();
}