@Nullable
public List<VirtualFile> getBoundDDLFiles() {
DBSchemaObject object = getObject();
if (object != null) {
DDLFileAttachmentManager fileAttachmentManager = DDLFileAttachmentManager.getInstance(object.getProject());
if (object.getProperties().is(DBObjectProperty.EDITABLE)) {
return fileAttachmentManager.getBoundDDLFiles(object);
}
}
return null;
}