CDI (JSR-299) Run with me…

Contexts and Dependency Injection (JSR-299) support in Maia has been significantly improved.

  • Reworked tool window:

  • New code inspections:
    • Injection points inconsistency. Detects Injection Points with ambiguous and unsatisfied dependencies
    • @Typed annotation errors.

    • Unproxyable bean types inconsistency.

    • And more:
  • Improved Rename refactoring for @Named beans
  • Better navigation to @Typed beans
  • Enhanced dependencies diagram, and more.
This entry was posted in New Features and tagged , , . Bookmark the permalink.

3 Responses to CDI (JSR-299) Run with me…

  1. Gavin King says:

    Looks fantastic!

    I notice one thing that’s a little wrong. The note about the unproxyable type should go on the injection point that resolves to the bean, not the bean itself. It’s totally legitimate to declare a normal scoped bean with an unproxyable type. You might only be using it from EL, for example. The error is trying to inject it into something, using the unproxyable type as the type of the injection point. The spec is very careful to define it that way, but I realize that the distinction is subtle. Does that make sense?

  2. serega.vasiliev says:

    Gavin, I’ve updated screenshot for “unproxyable” error.

  3. Gavin King says:

    Awesome, perfect :-)

    Great work!

Leave a Reply

Your email address will not be published. Required fields are marked *