@@ -1245,6 +1245,9 @@ class ClassInstanceExpr extends Expr, ConstructorCall, @classinstancexpr {
12451245 /** Gets the immediately enclosing statement of this class instance creation expression. */
12461246 override Stmt getEnclosingStmt ( ) { result = Expr .super .getEnclosingStmt ( ) }
12471247
1248+ /** Gets the `ControlFlowNode` corresponding to this call. */
1249+ override ControlFlowNode getControlFlowNode ( ) { result = Expr .super .getControlFlowNode ( ) }
1250+
12481251 /** Gets a printable representation of this expression. */
12491252 override string toString ( ) {
12501253 result = "new " + this .getConstructor ( ) .getName ( ) + "(...)"
@@ -2113,6 +2116,9 @@ class MethodCall extends Expr, Call, @methodaccess {
21132116 /** Gets the immediately enclosing statement that contains this method access. */
21142117 override Stmt getEnclosingStmt ( ) { result = Expr .super .getEnclosingStmt ( ) }
21152118
2119+ /** Gets the `ControlFlowNode` corresponding to this call. */
2120+ override ControlFlowNode getControlFlowNode ( ) { result = Expr .super .getControlFlowNode ( ) }
2121+
21162122 /** Gets a printable representation of this expression. */
21172123 override string toString ( ) {
21182124 if exists ( this .getMethod ( ) )
@@ -2305,6 +2311,9 @@ class Call extends ExprParent, @caller {
23052311 /** Gets the enclosing statement of this call. */
23062312 /*abstract*/ Stmt getEnclosingStmt ( ) { none ( ) }
23072313
2314+ /** Gets the `ControlFlowNode` corresponding to this call. */
2315+ /*abstract*/ ControlFlowNode getControlFlowNode ( ) { none ( ) }
2316+
23082317 /** Gets the number of arguments provided in this call. */
23092318 int getNumArgument ( ) { count ( this .getAnArgument ( ) ) = result }
23102319
0 commit comments