First Crack at Repository Problem

David Dixon-Peugh <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
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/

--
To unsubscribe, e-mail:   <mailto:[email protected]>
For additional commands, e-mail: <mailto:[email protected]>
repository.tar.gz (application/x-tar, 3.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.