[Issue31391] Made nullable, coded, and notCoded Scala annotations be Java annotations since they are used in Java and Scala classes