Source code: ClassLib/Common/java/io/ObjectStreamClass.java
1 // ObjectStreamClass.java, created Mon Jul 8 0:41:49 2002 by joewhaley
2 // Copyright (C) 2001-3 John Whaley <jwhaley@alum.mit.edu>
3 // Licensed under the terms of the GNU LGPL; see COPYING for details.
4 package ClassLib.Common.java.io;
5
6 import Clazz.jq_Class;
7 import Clazz.jq_Type;
8 import Run_Time.Reflection;
9 import Util.Assert;
10
11 /**
12 * ObjectStreamClass
13 *
14 * @author John Whaley <jwhaley@alum.mit.edu>
15 * @version $Id: ObjectStreamClass.java,v 1.7 2003/05/12 10:04:53 joewhaley Exp $
16 */
17 public abstract class ObjectStreamClass {
18 private static void initNative() {}
19 private static void getFieldIDs(java.io.ObjectStreamField[] a, long[] b, long[] c) {
20 Assert.TODO();
21 }
22 private static boolean hasStaticInitializer(java.lang.Class c) {
23 jq_Type t = Reflection.getJQType(c);
24 if (t instanceof jq_Class) {
25 return ((jq_Class)t).getClassInitializer() != null;
26 }
27 return false;
28 }
29 }