[Jrefactory-users] stub files
Brought to you by:
mikeatkinson,
seguin
|
From: Paul K. <pau...@me...> - 2001-10-02 18:11:45
|
I'm trying, without much success, to generate a stub file from j2ee.jar (part of J2EE SDK 1.3), so that I can include that framework in my refactoring diagrams. First, I (incorrectly) assumed that the stub generator could work straight from the jarred class files. When that didn't work, I tried running the jar though a decompiler first, but the decompiler I chose (jrevpro) is pretty badly broken, and the source files it produces are not parsable. I'm stuck now, and looking for ideas. One idea I had was to use something like Jikes Bytecode Toolkit (com.ibm.jikesbt) to parse the .class files, and somehow (?) tell JRefactory to use that instead of the stub file to get the framework classes. Or maybe it would be simpler just to load the class and then use reflection to do the same thing. But I'm not quite sure how to proceed. Anyone ever done anything like this? Thanks, Paul |