SI-5699 correct java parser for annotation defs.

Correct java source parser not to insert a constructor with the type of its <b>value</b> method.

Target 2.10.x since the current behavior affects java interop in e.g. scaladoc, see
https://issues.scala-lang.org/browse/SI-5684.