Turn off the 'public' check for main, and improve diagnostics.

We're likely to be able to invoke a static main method before we can invoke
a virtual getModifiers, and right now we don't care whether we've been asked
to run a non-public main.

Also adds PrettyMethod for improved diagnostics.

Change-Id: Iea08f0be980386adbe408b476449c2066c4e6da8
4 files changed
tree: 4c7c1613f5b7af65bfabde2091a2bf106171a9de
  1. Android.mk
  2. build/
  3. src/
  4. tools/