You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2015/06/09 16:42:00 UTC

[jira] [Created] (DELTASPIKE-920) AnnotationUtils must work with AnnotatedType, not with raw annotations

Harald Wellmann created DELTASPIKE-920:
------------------------------------------

             Summary: AnnotationUtils must work with AnnotatedType, not with raw annotations
                 Key: DELTASPIKE-920
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-920
             Project: DeltaSpike
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.4.0
            Reporter: Harald Wellmann


{{AnnotationUtils}} uses reflection to find annotations on methods or classes. 

This approach does not consider the {{AnnotatedType}} abstraction layer defined in the [CDI spec|http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html#alternative_metadata_sources].

Any "logical annotation" added via a {{ProcessAnnotatedType}} observer is currently ignored by {{AnnotationUtils}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)