feature request: add @generated
erikvanoosten opened this issue · comments
Erik van Oosten commented
Please add the javax.annotation.processing.Generated
annotation on the generated code so that code linters can skip those.
Arthur S commented
If this is implemented, this should be optional, because JVM is not the only compile target for Scala sources.
Erik van Oosten commented
@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.