001: package java.io;
002:
003: import java.lang.reflect.Constructor;
004: import java.lang.reflect.Field;
005: import java.lang.reflect.Member;
006: import java.lang.reflect.Method;
007: import java.lang.reflect.Modifier;
008: import java.lang.reflect.Proxy;
009: import java.security.AccessController;
010: import java.security.DigestOutputStream;
011: import java.security.MessageDigest;
012: import java.security.NoSuchAlgorithmException;
013: import java.security.PrivilegedAction;
014: import java.security.Security;
015: import java.util.Arrays;
016: import java.util.Comparator;
017: import java.util.Hashtable;
018: import java.util.Vector;
019: import gnu.java.io.NullOutputStream;
020: import gnu.java.lang.reflect.TypeSignature;
021: import gnu.java.security.action.SetAccessibleAction;
022: import gnu.java.security.provider.Gnu;
023:
024: public class ObjectStreamClass implements Serializable {
025: public static ObjectStreamClass lookup(Class cl) {
026: }
027:
028: static ObjectStreamClass lookupForClassObject(Class cl) {
029: }
030:
031: public String getName() {
032: }
033:
034: public Class forClass() {
035: }
036:
037: public long getSerialVersionUID() {
038: }
039:
040: public ObjectStreamField[] getFields() {
041: }
042:
043: public ObjectStreamField getField(String name) {
044: }
045:
046: public String toString() {
047: }
048:
049: boolean hasWriteMethod() {
050: }
051:
052: boolean isSerializable() {
053: }
054:
055: boolean isExternalizable() {
056: }
057:
058: ObjectStreamClass getSuper() {
059: }
060:
061: static ObjectStreamClass[] getObjectStreamClasses(Class clazz) {
062: }
063:
064: int getFlags() {
065: }
066:
067: ObjectStreamClass(String name, long uid, byte flags,
068: ObjectStreamField[] fields) {
069: }
070:
071: void setClass(Class cl, ObjectStreamClass super Class)
072: throws InvalidClassException {
073: }
074:
075: void setSuperclass(ObjectStreamClass osc) {
076: }
077:
078: void calculateOffsets() {
079: }
080:
081: private Method findMethod(Method[] methods, String name,
082: Class[] params, Class returnType) {
083: }
084:
085: private void cacheMethods() {
086: }
087:
088: private ObjectStreamClass(Class cl) {
089: }
090:
091: private void setFlags(Class cl) {
092: }
093:
094: private void setFields(Class cl) {
095: }
096:
097: private long getClassUID(Class cl) {
098: }
099:
100: private ObjectStreamField[] getSerialPersistentFields(Class clazz)
101: throws NoSuchFieldException, IllegalAccessException {
102: }
103:
104: Externalizable newInstance() throws InvalidClassException {
105: }
106:
107: public static final ObjectStreamField[] NO_FIELDS = {};
108: ObjectStreamField[] fields;
109: int primFieldSize = -1;
110: int objectFieldCount;
111:
112: Method readObjectMethod;
113: Method readResolveMethod;
114: boolean realClassIsSerializable;
115: boolean realClassIsExternalizable;
116: ObjectStreamField[] fieldMapping;
117: Class firstNonSerializableParent;
118:
119: boolean isProxyClass = false;
120: }
121:
122: class InterfaceComparator implements Comparator {
123: public int compare(Object o1, Object o2) {
124: }
125: }
126:
127: class MemberComparator implements Comparator {
128: public int compare(Object o1, Object o2) {
129: }
130: }
|