Analyzer::Java::Dropwizard
Inherits Analyzer < FileHelper < Reference < Object
Dropwizard ships Jersey under the hood, so JAX-RS resource
classes are the routing surface. This analyzer drives the shared
TreeSitterJaxRsExtractor against files in project roots that
carry a Dropwizard framework-bootstrap reference. Resource
classes are often pure JAX-RS and do not import Dropwizard
directly.
Constants
Directories a Dropwizard app conventionally keeps its server YAML in,
relative to the project root. Non-recursive, as the Dir.glob this
replaced was.
A bare io.dropwizard substring also matches Dropwizard's
standalone utility modules (io.dropwizard.util.Duration,
io.dropwizard.validation., io.dropwizard.jackson.) that ship
explicitly for use outside the Dropwizard web framework/server
stack. Restrict project classification to actual bootstrap
symbols (the Application base class, the Bootstrap/
Environment setup types, and the AssetsBundle helper) so a
plain JAX-RS/RESTEasy project that merely borrows one of those
helpers isn't misclassified as a Dropwizard project.
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.