i hava a project with scala and java code.
i access a scala class via AB$.MODULE$
as can be seen in the solution/comment here: access case object (scala) from java
everything works fine, however, eclipse underlines AB$.MODULE$
with red color saying that AB$ cannot be resolved to a variable
. however, the code compiles correctly and works fine. so how can i avoid the error from eclipse?