Lines Matching defs:field

34  * A description of a Serializable field from a Serializable class.  An array
46 /** field name */
48 /** canonical JVM signature of field type */
50 /** field type (Object.class if unknown non-primitive type) */
52 /** whether or not to (de)serialize field values as unshared */
54 /** corresponding reflective field object, if any */
55 private final Field field;
56 /** offset of field value in enclosing field group */
60 * Create a Serializable field with the specified type. This field should
63 * @param name the name of the serializable field
64 * @param type the <code>Class</code> object of the serializable field
71 * Creates an ObjectStreamField representing a serializable field with the
73 * field are serialized and deserialized in the default manner--if the
74 * field is non-primitive, object values are serialized and deserialized as
76 * readObject. If unshared is true, values of the represented field are
80 * @param name field name
81 * @param type field type
82 * @param unshared if false, write/read field values in the same manner
95 field = null;
99 * Creates an ObjectStreamField representing a field with the given name,
109 field = null;
127 * Creates an ObjectStreamField representing the given field with the
134 ObjectStreamField(Field field, boolean unshared, boolean showType) {
135 this.field = field;
137 name = field.getName();
138 Class<?> ftype = field.getType();
144 * Get the name of this field.
147 * field
154 * Get the type of the field. If the type is non-primitive and this
157 * Otherwise, the <code>Class</code> object for the type of the field is
161 * serializable field
175 * Returns character encoding of field type. The encoding is as follows:
189 * @return the typecode of the serializable field
199 * @return null if this field has a primitive type.
207 * Offset of field within instance data.
209 * @return the offset of this field
220 * @param offset the offset of the field
229 * Return true if this field has a primitive type.
231 * @return true if and only if this field corresponds to a primitive type
240 * Returns boolean value indicating whether or not the serializable field
250 * Compare this field with another <code>ObjectStreamField</code>. Return
252 * primitives are "smaller" than object types. If equal, the field names
266 * Return a string that describes this field.
273 * Returns field represented by this ObjectStreamField, or null if
274 * ObjectStreamField is not associated with an actual field.
277 return field;
281 * Returns JVM type signature of field (similar to getTypeString, except