Fix method name in LocalDatabaseOpenMethodAccess

This commit is contained in:
Tony Torralba
2022-01-20 14:10:02 +01:00
parent 652a1d2dc2
commit 4f253590f1
2 changed files with 9 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class LocalDatabaseOpenMethodAccess extends Storable, Call {
m.hasName("getWritableDatabase")
or
m.getDeclaringType() instanceof TypeSQLiteDatabase and
m.hasName(["create", "open%Database", "compileStatement"])
m.hasName(["create", "openDatabase", "openOrCreateDatabase", "compileStatement"])
or
m.getDeclaringType().getASupertype*() instanceof TypeContext and
m.hasName("openOrCreateDatabase")