function shouldBeStatically(def) {
    return (
        (def.type === Variable.ClassName) ||
        (def.type === Variable.Variable && def.parent.kind !== "var")
    );
}
Should be statically
@param {Object} def def
@returns {boolean} should be statically