RE: [Clirr-devel] about to commit changes to support a SPI
Status: Alpha
Brought to you by:
lkuehne
From: Vincent M. <vm...@pi...> - 2005-08-22 19:47:28
|
> -----Original Message----- > From: cli...@li... [mailto:clirr-devel- > ad...@li...] On Behalf Of Lars K=FChne > Sent: lundi 22 ao=FBt 2005 21:05 > To: cli...@li... > Subject: [Clirr-devel] about to commit changes to support a SPI >=20 > Hi, >=20 > if nobody objects within the next few days, I will commit changes to > clirr-core that introduce an SPI for providing the Java code = structure. > I think I discussed the idea with Simon a while ago, the basic idea is > to let the checks work against a the interfaces /JavaType,/ /Field/ = and > /Method/ instead of working directly against the BCEL classes. >=20 > This change has three major objectives: >=20 > * decouple our core logic from external dependencies (in this case > BCEL) > * allow replacing BCEL with a faster/smaller/more-full-featured > (think Java5) byte code lib. ASM would be one of the candidates > * allow Clirr IDE plugins to use their IDE's internal code > representation, so compilation to class files is not required. = It > should be possible to write a plugin that lets users detect > incompatible changes while they are typing the code. >=20 > All existing tests still pass, but this change could cause problems = for > some corner cases that are currently untested. >=20 > Let me know what you think. Sounds good to me. -Vincent |