code: public Symbol getSymbolForInstancesOf(Symbol sym) {
      FunctionType fn = sym.getFunctionType();
      if (fn != null && fn.isNominalConstructor()) {
        return getSymbolForInstancesOf(fn);
      }
      return null;
    }
docs: Gets the symbol for the prototype if this is the symbol for a constructor or interface.