mirror of
https://github.com/github/codeql.git
synced 2026-02-23 18:33:42 +01:00
Small refactor for stylistic consistency
This commit is contained in:
@@ -188,7 +188,7 @@ class PatternAnnotation extends Annotation, RegexMatch::Range {
|
||||
result.(MethodCall).getMethod().(GetterMethod).getField() = this.getAnnotatedElement()
|
||||
or
|
||||
// Annotation on parameter - value of parameter will match regexp
|
||||
result = this.getAnnotatedElement().(Parameter).getAnAccess().(VarRead)
|
||||
result.(VarRead).getVariable().(Parameter) = this.getAnnotatedElement()
|
||||
or
|
||||
// Annotation on method - return value of method will match regexp
|
||||
result.(Call).getCallee() = this.getAnnotatedElement()
|
||||
|
||||
Reference in New Issue
Block a user