File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -125,13 +125,19 @@ class FrameworkModeMetadataExtractor extends string {
125
125
string input , string parameterName
126
126
) {
127
127
exists ( Callable callable , int paramIdx |
128
- e .asParameter ( ) = callable .getParameter ( paramIdx ) and
128
+ (
129
+ e .( DataFlow:: ExplicitParameterNode ) .asParameter ( ) = callable .getParameter ( paramIdx ) and
130
+ parameterName = e .asParameter ( ) .getName ( )
131
+ or
132
+ e .( DataFlow:: InstanceParameterNode ) .getCallable ( ) = callable and
133
+ paramIdx = - 1 and
134
+ parameterName = "this"
135
+ ) and
129
136
input = AutomodelJavaUtil:: getArgumentForIndex ( paramIdx ) and
130
137
package = callable .getDeclaringType ( ) .getPackage ( ) .getName ( ) and
131
138
type = callable .getDeclaringType ( ) .getErasure ( ) .( RefType ) .nestedName ( ) and
132
139
subtypes = AutomodelJavaUtil:: considerSubtypes ( callable ) .toString ( ) and
133
140
name = callable .getName ( ) and
134
- parameterName = e .asParameter ( ) .getName ( ) and
135
141
signature = ExternalFlow:: paramsString ( callable )
136
142
)
137
143
}
You can’t perform that action at this time.
0 commit comments