private DBDataType lookupDataType(ExecVariablePsiElement variablePsiElement) {
BasePsiElement parent = variablePsiElement.lookupEnclosingNamedPsiElement();
Set<BasePsiElement> bucket = null;
while (parent != null) {
bucket = parent.collectObjectPsiElements(bucket, DBObjectType.COLUMN.getFamilyTypes(), IdentifierCategory.REFERENCE);
if (bucket != null) {
if (bucket.size() > 1) {
return null;
}