AddOrUpdateAnnotationAttribute
throws an error when adding a class
as attributeValue
#3978
Labels
bug
Something isn't working
What version of OpenRewrite are you using?
I am using
How are you running OpenRewrite?
I am building my own recipe in a rewrite.yml that looks like this:
In another project i call this maven command:
What is the full stack trace of any errors you encountered?
Are you interested in contributing a fix to OpenRewrite?
It looks like there is a wrong cast to
J.Literal
inAddOrUpdateAnnotationAttribute:107
. This seems to happen, because i input a class instead of a text value. I don't know what it should get parsed as...I also tried to insert this as value:
but this also didn't work.
The text was updated successfully, but these errors were encountered: