} else {
DBSchemaObject schemaObject = virtualFile.getObject();
if (schemaObject != null) {
DatabaseCompatibilityInterface compatibilityInterface = DatabaseCompatibilityInterface.getInstance(schemaObject);
if (schemaObject.getProperties().is(DBObjectProperty.COMPILABLE) && compatibilityInterface.supportsFeature(DatabaseFeature.OBJECT_INVALIDATION)) {
CompilerSettings compilerSettings = getCompilerSettings(schemaObject.getProject());
CompileType compileType = compilerSettings.getCompileType();
DBObjectStatusHolder status = schemaObject.getStatus();
DBContentType contentType = virtualFile.getContentType();