I am trying to use com.sun.codemodel.JCodeModel in some code that is generating Java Pojo classes from JSON schemas but SonarLint is reporting that classes from "sun.*" packages should not be used. Is there any replacement for JCodeModel in a different package that is compliant?
Asked
Active
Viewed 205 times
1 Answers
0
Although this other thread link says that you shouldn't restrictedly believe in Sonar evaluation, I found this option that you should consider: Apache JAXBUtils

Leandro Lima
- 1,140
- 3
- 24
- 42