[cdi-dev] [JBoss JIRA] (CDI-194) Allow AnnotatedType for a given Bean to be obtained

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Thu Aug 30 09:28:32 EDT 2012

    [ https://issues.jboss.org/browse/CDI-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714859#comment-12714859 ] 

Stuart Douglas commented on CDI-194:

I would say getAnnotatedElement() would be a better choice, so you would just return the AnnotatedMethod for a producer method bean. I think that you would also have to allow it to return null, if the bean is question is a custom or builtin bean. 

I don't feel particularly strongly about this one, but I think there are possible use cases.
> Allow AnnotatedType for a given Bean to be obtained
> ---------------------------------------------------
>                 Key: CDI-194
>                 URL: https://issues.jboss.org/browse/CDI-194
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Portable Extensions
>    Affects Versions: 1.0
>            Reporter: Jozef Hartinger
>             Fix For: 1.1 (Proposed)
> See Stuart's comment on CDI-83.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the cdi-dev mailing list