@@ -83,7 +83,9 @@ private module FabricV2 {
83
83
module Connection {
84
84
/** Gets a reference to the `fabric.connection.Connection` class. */
85
85
API:: Node classRef ( ) {
86
- result in [ fabric ( ) .getMember ( "Connection" ) , connection ( ) .getMember ( "Connection" ) ]
86
+ result = fabric ( ) .getMember ( "Connection" )
87
+ or
88
+ result = connection ( ) .getMember ( "Connection" )
87
89
}
88
90
89
91
/**
@@ -110,7 +112,7 @@ private module FabricV2 {
110
112
}
111
113
112
114
/** Gets a reference to an instance of `fabric.connection.Connection`. */
113
- DataFlow:: LocalSourceNode instance ( ) { result = instance ( DataFlow:: TypeTracker:: end ( ) ) }
115
+ DataFlow:: Node instance ( ) { instance ( DataFlow:: TypeTracker:: end ( ) ) . flowsTo ( result ) }
114
116
115
117
/**
116
118
* Gets a reference to either `run`, `sudo`, or `local` method on a
@@ -249,7 +251,9 @@ private module FabricV2 {
249
251
module SerialGroup {
250
252
private class ClassInstantiation extends Group:: ModeledSubclass {
251
253
ClassInstantiation ( ) {
252
- this in [ group ( ) .getMember ( "SerialGroup" ) , fabric ( ) .getMember ( "SerialGroup" ) ]
254
+ this = group ( ) .getMember ( "SerialGroup" )
255
+ or
256
+ this = fabric ( ) .getMember ( "SerialGroup" )
253
257
}
254
258
}
255
259
}
@@ -262,7 +266,9 @@ private module FabricV2 {
262
266
module ThreadingGroup {
263
267
private class ClassInstantiation extends Group:: ModeledSubclass {
264
268
ClassInstantiation ( ) {
265
- this in [ group ( ) .getMember ( "ThreadingGroup" ) , fabric ( ) .getMember ( "ThreadingGroup" ) ]
269
+ this = group ( ) .getMember ( "ThreadingGroup" )
270
+ or
271
+ this = fabric ( ) .getMember ( "ThreadingGroup" )
266
272
}
267
273
}
268
274
}
0 commit comments