• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1  /*
2   * Copyright (C) 2014 The Android Open Source Project
3   * Copyright (c) 1994, 2012, Oracle and/or its affiliates. All rights reserved.
4   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5   *
6   * This code is free software; you can redistribute it and/or modify it
7   * under the terms of the GNU General Public License version 2 only, as
8   * published by the Free Software Foundation.  Oracle designates this
9   * particular file as subject to the "Classpath" exception as provided
10   * by Oracle in the LICENSE file that accompanied this code.
11   *
12   * This code is distributed in the hope that it will be useful, but WITHOUT
13   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15   * version 2 for more details (a copy is included in the LICENSE file that
16   * accompanied this code).
17   *
18   * You should have received a copy of the GNU General Public License version
19   * 2 along with this work; if not, write to the Free Software Foundation,
20   * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
21   *
22   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
23   * or visit www.oracle.com if you need additional information or have any
24   * questions.
25   */
26  
27  package java.lang;
28  
29  import android.compat.annotation.UnsupportedAppUsage;
30  
31  @SuppressWarnings({"unchecked", "deprecation", "all"})
32  public class Object {
33  
Object()34      public Object() {
35          throw new RuntimeException("Stub!");
36      }
37  
getClass()38      public final java.lang.Class<?> getClass() {
39          throw new RuntimeException("Stub!");
40      }
41  
hashCode()42      public int hashCode() {
43          throw new RuntimeException("Stub!");
44      }
45  
46      @UnsupportedAppUsage
identityHashCode(java.lang.Object obj)47      static int identityHashCode(java.lang.Object obj) {
48          throw new RuntimeException("Stub!");
49      }
50  
identityHashCodeNative(java.lang.Object obj)51      private static native int identityHashCodeNative(java.lang.Object obj);
52  
equals(java.lang.Object obj)53      public boolean equals(java.lang.Object obj) {
54          throw new RuntimeException("Stub!");
55      }
56  
clone()57      protected java.lang.Object clone() throws java.lang.CloneNotSupportedException {
58          throw new RuntimeException("Stub!");
59      }
60  
internalClone()61      private native java.lang.Object internalClone();
62  
toString()63      public java.lang.String toString() {
64          throw new RuntimeException("Stub!");
65      }
66  
notify()67      public final native void notify();
68  
notifyAll()69      public final native void notifyAll();
70  
wait(long timeout)71      public final void wait(long timeout) throws java.lang.InterruptedException {
72          throw new RuntimeException("Stub!");
73      }
74  
wait(long timeout, int nanos)75      public final native void wait(long timeout, int nanos) throws java.lang.InterruptedException;
76  
wait()77      public final void wait() throws java.lang.InterruptedException {
78          throw new RuntimeException("Stub!");
79      }
80  
finalize()81      protected void finalize() throws java.lang.Throwable {
82          throw new RuntimeException("Stub!");
83      }
84  
85      private transient java.lang.Class<?> shadow$_klass_;
86  
87      private transient int shadow$_monitor_;
88  }
89