class
Analyzer::Java::JaxRs
- Analyzer::Java::JaxRs
- Analyzer
- Reference
- Object
Defined in:
analyzer/analyzers/java/jaxrs.crConstant Summary
-
DERIVATIVE_MARKERS =
["io.quarkus", "io.dropwizard"] -
Frameworks that ride on JAX-RS but ship their own analyzer. Listing them here keeps the JAX-RS analyzer the fallback for vanilla Jersey / RESTEasy resources without double-counting.
-
JAVA_EXTENSION =
"java" -
JAXRS_OR_WEBSOCKET_SOURCE_RE =
Regex.union("jakarta.ws.rs", "javax.ws.rs", "jakarta.websocket", "javax.websocket", "@ServerEndpoint") -
jaxrs_or_websocket_source?gates the per-file tree-sitter parse; one precompiledRegex.unionscan (PCRE2 JIT, auto-escapes each literal) replaces 5 separateString#includes?passes over the same buffer.