When a static import is used, Processing will throw a compiler error, but the program will still run and the static import will occur successfully.
For example: the statement "import static hermes.HermesMath;" will cause the compiler error "No library found for static hermes.HermesMath", but the static import still works and the sketch will still run.
My guess is that the Processing preprocesser reads the library name as "static hermes.HermesMath" instead of "hermes.HermesMath", but despite the error leaves the line in for the Java compilation step, which handles them correctly.
This forum thread seems to agree with me.
When a static import is used, Processing will throw a compiler error, but the program will still run and the static import will occur successfully.
For example: the statement "import static hermes.HermesMath;" will cause the compiler error "No library found for static hermes.HermesMath", but the static import still works and the sketch will still run.
My guess is that the Processing preprocesser reads the library name as "static hermes.HermesMath" instead of "hermes.HermesMath", but despite the error leaves the line in for the Java compilation step, which handles them correctly.
This forum thread seems to agree with me.