1 /*
2  * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 package java.io;
27 
28 import android.compat.annotation.UnsupportedAppUsage;
29 
30 @SuppressWarnings({"unchecked", "deprecation", "all"})
31 public class ObjectStreamField implements java.lang.Comparable<java.lang.Object> {
32 
ObjectStreamField(java.lang.String name, java.lang.Class<?> type)33     public ObjectStreamField(java.lang.String name, java.lang.Class<?> type) {
34         throw new RuntimeException("Stub!");
35     }
36 
ObjectStreamField(java.lang.String name, java.lang.Class<?> type, boolean unshared)37     public ObjectStreamField(java.lang.String name, java.lang.Class<?> type, boolean unshared) {
38         throw new RuntimeException("Stub!");
39     }
40 
ObjectStreamField(java.lang.String name, java.lang.String signature, boolean unshared)41     ObjectStreamField(java.lang.String name, java.lang.String signature, boolean unshared) {
42         throw new RuntimeException("Stub!");
43     }
44 
ObjectStreamField(java.lang.reflect.Field field, boolean unshared, boolean showType)45     ObjectStreamField(java.lang.reflect.Field field, boolean unshared, boolean showType) {
46         throw new RuntimeException("Stub!");
47     }
48 
getName()49     public java.lang.String getName() {
50         throw new RuntimeException("Stub!");
51     }
52 
getType()53     public java.lang.Class<?> getType() {
54         throw new RuntimeException("Stub!");
55     }
56 
getTypeCode()57     public char getTypeCode() {
58         throw new RuntimeException("Stub!");
59     }
60 
getTypeString()61     public java.lang.String getTypeString() {
62         throw new RuntimeException("Stub!");
63     }
64 
getOffset()65     public int getOffset() {
66         throw new RuntimeException("Stub!");
67     }
68 
setOffset(int offset)69     protected void setOffset(int offset) {
70         throw new RuntimeException("Stub!");
71     }
72 
isPrimitive()73     public boolean isPrimitive() {
74         throw new RuntimeException("Stub!");
75     }
76 
isUnshared()77     public boolean isUnshared() {
78         throw new RuntimeException("Stub!");
79     }
80 
compareTo(java.lang.Object obj)81     public int compareTo(java.lang.Object obj) {
82         throw new RuntimeException("Stub!");
83     }
84 
toString()85     public java.lang.String toString() {
86         throw new RuntimeException("Stub!");
87     }
88 
89     @UnsupportedAppUsage
getField()90     java.lang.reflect.Field getField() {
91         throw new RuntimeException("Stub!");
92     }
93 
getSignature()94     java.lang.String getSignature() {
95         throw new RuntimeException("Stub!");
96     }
97 
getClassSignature(java.lang.Class<?> cl)98     private static java.lang.String getClassSignature(java.lang.Class<?> cl) {
99         throw new RuntimeException("Stub!");
100     }
101 
102     private final java.lang.reflect.Field field;
103 
104     {
105         field = null;
106     }
107 
108     private final java.lang.String name;
109 
110     {
111         name = null;
112     }
113 
114     private int offset = 0; // 0x0
115 
116     private final java.lang.String signature;
117 
118     {
119         signature = null;
120     }
121 
122     private final java.lang.Class<?> type;
123 
124     {
125         type = null;
126     }
127 
128     private final boolean unshared;
129 
130     {
131         unshared = false;
132     }
133 }
134