You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've no idea why this happens, but if you write this:
@SuppressWarnings(value="unchecked")
then Spoon will not mark java.lang as implicit, and the output will be:
@java.lang.SuppressWarnings(value="unchecked")
Took me an hour of debugging to figure out ... To be clear, the problem is the use of a named element, if you remove the value=, it the annotation type's package gets properly marked as implicit.
The text was updated successfully, but these errors were encountered:
slarse
changed the title
Spoon fails to mark @SuppressWarnings package as implicit if value keyword is used
Spoon fails to mark @SuppressWarnings package as implicit if named lement is used
Mar 4, 2020
slarse
changed the title
Spoon fails to mark @SuppressWarnings package as implicit if named lement is used
Spoon fails to mark @SuppressWarnings package as implicit if named element is used
Mar 5, 2020
I've no idea why this happens, but if you write this:
then Spoon will not mark
java.lang
as implicit, and the output will be:Took me an hour of debugging to figure out ... To be clear, the problem is the use of a named element, if you remove the
value=
, it the annotation type's package gets properly marked as implicit.The text was updated successfully, but these errors were encountered: