public final class SerializableField
extends java.lang.Object
Constructor and Description |
---|
SerializableField(java.lang.Class<?> type,
java.lang.String name,
boolean unshared) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Field |
getField()
Get the reflection
Field for this serializable field. |
Kind |
getKind()
Get the kind of field.
|
java.lang.String |
getName()
Get the name of the field.
|
java.lang.Class<?> |
getType()
Get the field type.
|
boolean |
isUnshared()
Determine whether this field is marked as "unshared".
|
public SerializableField(java.lang.Class<?> type, java.lang.String name, boolean unshared)
public java.lang.reflect.Field getField()
Field
for this serializable field. The resultant field will be accessible.public java.lang.String getName()
public boolean isUnshared()
true
if the field is unsharedpublic Kind getKind()
public java.lang.Class<?> getType() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
Copyright © 2011 JBoss, a division of Red Hat, Inc.