Doychin Bondzhev created ROASTER-78:
---------------------------------------
Summary: trying to get Clas 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)