You can then pass the class object (not instance) to the registry. That's the ideal scenario.
I'm definitely looking forward to this addition! It will definitely open up a world of possibilities for the Maven community.
Cheers,
-Dan
On Tue, Jan 27, 2015 at 3:10 PM, abelsromero [via Asciidoctor :: Discussion] <[hidden email]> wrote:
While testing the Processors SPI I stumbled upon this doubt. In order to offer a simple front-end to register extensions I create an instance from a string and then check its class with instanceof....not elegant, but it's what Java offers.