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
@lrytz said:
This is a known issue: Scala-defined annotations are never emitted as Java-style annotations in the classfile, and therefore not visible to Java reflection. If you need an annotation to be visible to Java reflection, it needs to be defined in Java.
What you're looking for would be ClassfileAnnotation, not StaticAnnotation, but it's not implemented, you'll get a compile-time warning.
m.getDeclaredAnnotations is an empty array and should not be. This would seem to be a bug as I can't imagine this is the correct behaviour.
The text was updated successfully, but these errors were encountered: