Is it possible to apply annotations to method parameters in Nashorn (JavaScript)?
I want users to be able to define their own classes that can later be injected using Guice, which generally requires the use of annotations.
No, there is no way to add Java annotations to Java subclasses implemented in Nashorn JavaScript (assuming that was your question!)