OSDN Git Service

AI 146498: am: CL 145983 am: CL 145911 ADT #1778786: tool to generate stubbed jar...
authorRaphael Moll <>
Thu, 16 Apr 2009 17:54:10 +0000 (10:54 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Thu, 16 Apr 2009 17:54:10 +0000 (10:54 -0700)
commita779a05e7eecf91d33590787075a8cbef4c270ac
tree97be7ada06778151657d1e5f1cb0e1f72ba001d7
parenteb19b3e0d1189cc7833f185a067c9f80b5487707
AI 146498: am: CL 145983 am: CL 145911 ADT #1778786: tool to generate stubbed jar file.
  This is only a preliminary CL. More will follow but this is
  a good start, with the following caveats:
  What it does:
  - take an input jar, a list of includes, a list of excludes.
  - generate actual Java source for the filtered classes.
  What it doesn't do yet:
  - some more work on filtering inner elements (methods, etc.)
  - properly generate inner classes.
  - hide synthetic fields.
  - some classes body are missing
  - directly generate a stubbed bytecode/jar rather than source.
  I'll likely want to keep the source generator for debugging
  purposes or if we want to integrate with a build system instead.
  - classpath will be changed in the final CL to refer to the external
  ASM lib rather than the project. I need the source for debugging
  rigth now.
  - will review comments before submitting.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146498
core/main.mk