]
George Gastaldi commented on ROASTER-124:
-----------------------------------------
I fixed it and it should be available in the next release
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}