public class Fields
extends java.lang.Object
field descriptors
.Modifier and Type | Field and Description |
---|---|
protected ClassDescriptor |
classDescriptor |
protected java.util.Map<java.lang.String,FieldDescriptor> |
fieldsMap |
Constructor and Description |
---|
Fields(ClassDescriptor classDescriptor)
Creates new fields collection.
|
Modifier and Type | Method and Description |
---|---|
protected FieldDescriptor |
createFieldDescriptor(java.lang.reflect.Field field)
Creates new
FieldDescriptor . |
FieldDescriptor[] |
getAllFieldDescriptors()
Returns all fields of this collection.
|
FieldDescriptor |
getFieldDescriptor(java.lang.String name)
Returns
field descriptor for given field name
or null if field does not exist. |
protected final ClassDescriptor classDescriptor
protected final java.util.Map<java.lang.String,FieldDescriptor> fieldsMap
public Fields(ClassDescriptor classDescriptor)
protected FieldDescriptor createFieldDescriptor(java.lang.reflect.Field field)
FieldDescriptor
.public FieldDescriptor getFieldDescriptor(java.lang.String name)
field descriptor
for given field name
or null
if field does not exist.public FieldDescriptor[] getAllFieldDescriptors()
Copyright © 2003-present Jodd Team