[forge-issues] [JBoss JIRA] (ROASTER-78) Trying to get class value from AnnotationSource returns null. Only getLiteralValue returns value != null
George Gastaldi (JIRA)
issues at jboss.org
Fri Aug 21 14:30:27 EDT 2015
[ https://issues.jboss.org/browse/ROASTER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi closed ROASTER-78.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.15.1.Final
(was: 2.x Future)
Resolution: Done
> Trying to get class value from AnnotationSource returns null. Only getLiteralValue returns value != null
> --------------------------------------------------------------------------------------------------------
>
> Key: ROASTER-78
> URL: https://issues.jboss.org/browse/ROASTER-78
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.15.0.Final
> Environment: Windows, forge 2.17.1
> Reporter: Doychin Bondzhev
> Assignee: George Gastaldi
> Priority: Blocker
> Fix For: 2.15.1.Final
>
>
> If I want to get the class value for annotation that I get like this:
> AnnotationSource<JavaClassSource> idClassAnotation = entityClass
> .getAnnotation(IdClass.class);
> I can only get it from getLiteralValue method and it returns the simple name of the class + .class
> All other methods produce null
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the forge-issues
mailing list