public Object[] getVariants() {
return PsiElement.EMPTY_ARRAY;
}
public static Set<DBObject> identifyPotentialParentObjects(DBObjectType objectType, @Nullable ObjectTypeFilter filter, BasePsiElement sourceScope, LeafPsiElement lookupIssuer) {
ConnectionHandler connectionHandler = sourceScope.getActiveConnection();
Set<DBObject> parentObjects = null;
Set<DBObjectType> parentTypes = objectType.getGenericParents();
if (parentTypes.size() > 0) {
if (objectType.isSchemaObject() && connectionHandler != null && !connectionHandler.isVirtual()) {
DBObjectBundle objectBundle = connectionHandler.getObjectBundle();
if (filter == null || filter.acceptsCurrentSchemaObject(objectType)) {
DBSchema currentSchema = sourceScope.getCurrentSchema();
parentObjects = addObjectToSet(parentObjects, currentSchema);
}