sbt / sbt-buildinfo

I know this because build.sbt knows this.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature request: add @generated

erikvanoosten opened this issue · comments

Please add the javax.annotation.processing.Generated annotation on the generated code so that code linters can skip those.

If this is implemented, this should be optional, because JVM is not the only compile target for Scala sources.

@Generated is a compile time annotation so I am not sure if it matters.

Weird thing that might complicate this is that the Scala compiler requires the annotations to be on the class path where as the Java compiler explicitly ignores annotations that are not on the class path.