Skip to content

Help with query #863

Answered by aschackmull
akanksha1331 asked this question in Q&A
Nov 28, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Sounds simple enough. How about this:

predicate isSource(DataFlow::Node src) {
  src.asParameter().getCallable().hasAnnotation("org.springframework.web.bind.annotation", "RequestMapping")
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akanksha1331
Comment options

Answer selected by akanksha1331
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants