You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build a bridge that translates from ECJ AST into javac classes and ensure Error Prone accepts those
We need to figure out what is the better strategy to go with. Having Error Prone integrated directly with ECJ would be nice because we are using ECJ as well in the Bazel Language Server (Eclipse and VS Code)
Error Prone is currently integrated in the Bazel Java Compiles via ErrorPronePlugin
/** * A plugin for BlazeJavaCompiler that performs Error Prone analysis. Error Prone is a static * analysis framework that we use to perform some simple static checks on Java code. */publicfinalclassErrorPronePluginextendsBlazeJavaCompilerPlugin {..}
There are two possible approaches:
We need to figure out what is the better strategy to go with. Having Error Prone integrated directly with ECJ would be nice because we are using ECJ as well in the Bazel Language Server (Eclipse and VS Code)
Error Prone is currently integrated in the Bazel Java Compiles via ErrorPronePlugin