 -    } else {
 -      return null;
      }
-+
-+    return result;
++      return result;
    }
  
    /**

-        firstVal = name.getFirstChild().getNext();
-      } else {
-        firstVal = name.getFirstChild();
       }
 
-      Collection<Definition> defs1 = getCallableDefinitions(definitionProvider,
-                                                            firstVal);
-      Collection<Definition> defs2 = getCallableDefinitions(definitionProvider,

+    if (decls == null) {
           return null;
-        }
       }
 
-      return result;
-    } else if (name.getType() == Token.OR || name.getType() == Token.HOOK) {
-      Node firstVal;
