[
https://issues.jboss.org/browse/ROASTER-78?page=com.atlassian.jira.plugin...
]
George Gastaldi updated ROASTER-78:
-----------------------------------
Summary: Trying to get class value from AnnotationSource returns null. Only
getLiteralValue returns value != null (was: trying to get Clas value from
AnnotationSource returns null. Only getLiteralValue returns value != null)
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
Priority: Blocker
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)