File tree Expand file tree Collapse file tree
java/ql/src/experimental/Security/CWE/CWE-094 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ class BeanValidationSource extends RemoteFlowSource {
2121 m .getParameter ( 0 ) = v and
2222 m
2323 .getDeclaringType ( )
24- .getASupertype + ( )
25- .getSourceDeclaration ( )
24+ .getASourceSupertype + ( )
2625 .hasQualifiedName ( "javax.validation" , "ConstraintValidator" ) and
2726 m .hasName ( "isValid" ) and
2827 m .fromSource ( )
@@ -34,10 +33,10 @@ class BeanValidationSource extends RemoteFlowSource {
3433
3534class BuildConstraintViolationWithTemplateMethod extends Method {
3635 BuildConstraintViolationWithTemplateMethod ( ) {
37- getDeclaringType ( )
36+ this . getDeclaringType ( )
3837 .getASupertype * ( )
3938 .hasQualifiedName ( "javax.validation" , "ConstraintValidatorContext" ) and
40- hasName ( "buildConstraintViolationWithTemplate" )
39+ this . hasName ( "buildConstraintViolationWithTemplate" )
4140 }
4241}
4342
You can’t perform that action at this time.
0 commit comments