Class SerializableField


  • public final class SerializableField
    extends Object
    Reflection information about a field on a serializable class.
    • Constructor Detail

      • SerializableField

        public SerializableField​(Class<?> type,
                                 String name,
                                 boolean unshared)
    • Method Detail

      • getField

        public Field getField()
        Get the reflection Field for this serializable field. The resultant field will be accessible.
        Returns:
        the reflection field
      • getName

        public String getName()
        Get the name of the field.
        Returns:
        the name
      • isUnshared

        public boolean isUnshared()
        Determine whether this field is marked as "unshared".
        Returns:
        true if the field is unshared
      • getKind

        public Kind getKind()
        Get the kind of field.
        Returns:
        the kind