class
Analyzer::Java::Dropwizard
- Analyzer::Java::Dropwizard
- Analyzer
- Reference
- Object
Overview
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.
Defined in:
analyzer/analyzers/java/dropwizard.crConstant Summary
-
DROPWIZARD_BOOTSTRAP_MARKER_RE =
/io\.dropwizard\.(?:core\.)?(?:Application\b|setup\.(?:Bootstrap|Environment)\b)|io\.dropwizard\.assets\.AssetsBundle\b/ -
A bare
io.dropwizardsubstring 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 (theApplicationbase class, theBootstrap/Environmentsetup types, and theAssetsBundlehelper) so a plain JAX-RS/RESTEasy project that merely borrows one of those helpers isn't misclassified as a Dropwizard project. -
JAVA_EXTENSION =
"java"