code: @Deprecated
      public static Object getObjectProp(Object obj, String property,
                                         Context cx)
      {
          return getObjectProp(obj, property, cx, getTopCallScope(cx));
      }
docs: Version of getObjectElem when elem is a valid JS identifier name.
  
  @deprecated Use {@link #getObjectProp(Object, String, Context, Scriptable)} instead