Fix isEnclosingMethodAccess wrapper

This commit is contained in:
Chris Smowton
2023-10-24 11:03:57 +01:00
parent ac38d4c9c6
commit 09e83d1173

View File

@@ -1944,7 +1944,7 @@ class MethodCall extends Expr, Call, @methodaccess {
predicate isEnclosingMethodCall(RefType t) { Qualifier::enclosingMemberAccess(this, t) }
/** DEPRECATED: Alias for `isEnclosingMethodCall`. */
deprecated predicate isEnclosingMethodAccess() { this.isEnclosingMethodCall() }
deprecated predicate isEnclosingMethodAccess(RefType t) { this.isEnclosingMethodCall(t) }
override string getAPrimaryQlClass() { result = "MethodCall" }
}