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. build/
  2. src/
  3. tools/
  4. Android.mk