Analyzer::Java::Spark
Inherits Analyzer < FileHelper < Reference < Object
Spark Java is Sinatra-flavoured: Spark.get("/x", (req, res) -> ...) (or just get("/x", ...) after import static spark.Spark.*). Path nesting is path("/api", () -> { ... }).
The shared lambda-DSL extractor handles all of that; this
analyzer just supplies the Spark method-name set.
Constants
Spark's request helpers. body() returns the raw body string
(no type info) — emit a generic body param. queryParams
serves both query string and form data; we surface it as
query since Spark callers most commonly read it that way.
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.