]
George Gastaldi updated ROASTER-124:
------------------------------------
Component/s: JDT
(was: API)
AnnotationSource.setLiteralValue() error occur
----------------------------------------------
Key: ROASTER-124
URL:
https://issues.jboss.org/browse/ROASTER-124
Project: Roaster
Issue Type: Bug
Components: JDT
Affects Versions: 2.19.4.Final
Environment: intelliJ IDEA, MacOS - Sierra
Reporter: Ondrej Zoricak
Assignee: George Gastaldi
Priority: Critical
Fix For: 2.20.1.Final
Error:
{code:java}
Exception in thread "main" java.lang.ClassCastException:
org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.NormalAnnotation cannot be cast to
org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SingleMemberAnnotation
at
org.jboss.forge.roaster.model.impl.AnnotationImpl.setLiteralValue(AnnotationImpl.java:325)
at
comprehensionTool.data.annotation.AnnotationImplementer.annotateMethod(AnnotationImplementer.java:132)
{code}