Output is indented

In order to ease the debugging of the generate files, program elements
are indented.

Bug: 110967839
Test: m -j, device boots to the UI and basic functionality works
Test: runtest.sh is successful

Change-Id: I2540d4fa62b8aa4a72bb48074f8ddc3476840eba
diff --git a/ast_java.cpp b/ast_java.cpp
index 1ba723c..14636a8 100644
--- a/ast_java.cpp
+++ b/ast_java.cpp
@@ -125,10 +125,12 @@
 
 void StatementBlock::Write(CodeWriter* to) const {
   to->Write("{\n");
+  to->Indent();
   int N = this->statements.size();
   for (int i = 0; i < N; i++) {
     this->statements[i]->Write(to);
   }
+  to->Dedent();
   to->Write("}\n");
 }
 
@@ -360,10 +362,12 @@
   to->Write("switch (");
   this->expression->Write(to);
   to->Write(")\n{\n");
+  to->Indent();
   int N = this->cases.size();
   for (int i = 0; i < N; i++) {
     this->cases[i]->Write(to);
   }
+  to->Dedent();
   to->Write("}\n");
 }
 
@@ -468,12 +472,14 @@
 
   to->Write("\n");
   to->Write("{\n");
+  to->Indent();
 
   N = this->elements.size();
   for (i = 0; i < N; i++) {
     this->elements[i]->Write(to);
   }
 
+  to->Dedent();
   to->Write("}\n");
 }