Class SerializableField

java.lang.Object
org.jboss.marshalling.reflect.SerializableField

public final class SerializableField extends Object
Reflection information about a field on a serializable class.
  • Field Details

    • type

      private final Class<?> type
    • field

      private final Field field
    • name

      private final String name
    • unshared

      private final boolean unshared
    • kind

      private final Kind kind
  • Constructor Details

    • SerializableField

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

      SerializableField(Class<?> type, String name, boolean unshared, Field field)
  • Method Details

    • 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
    • getType

      public Class<?> getType() throws ClassNotFoundException
      Get the field type.
      Returns:
      the field type
      Throws:
      ClassNotFoundException