jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dixon-Peugh <dixonpe...@yahoo.com>
Subject First Crack at Repository Problem
Date Wed, 17 Apr 2002 15:15:17 GMT

I've finished a first crack at the Repository
problem, based on some of the replies.

Basically, I created a new interface:
  org.apache.bcel.util.Repository

And two classes:
  org.apache.bcel.util.SyntheticRepository
  org.apache.bcel.util.ClassLoaderRepository

(I'm open for suggestions on names.)

Synthetic is the default repository, which uses
the ClassPath class.  ClassLoaderRepository is
what I've been looking for.

The attached file also has the diff of the
JavaClass file to give an idea of how the
transformation works.

Enjoy,

DDP


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
Mime
View raw message