public class FieldDescriptor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ClassDescriptor |
classDescriptor |
protected java.lang.reflect.Field |
field |
protected java.lang.Class |
rawComponentType |
protected java.lang.Class |
rawKeyComponentType |
protected java.lang.Class |
rawType |
protected java.lang.reflect.Type |
type |
| Constructor and Description |
|---|
FieldDescriptor(ClassDescriptor classDescriptor,
java.lang.reflect.Field field) |
| Modifier and Type | Method and Description |
|---|---|
ClassDescriptor |
getClassDescriptor()
Returns parent class descriptor.
|
java.lang.reflect.Field |
getField()
Returns field.
|
java.lang.Class |
getRawComponentType()
Returns fields raw component type.
|
java.lang.Class |
getRawKeyComponentType()
Returns fields raw component type.
|
java.lang.Class |
getRawType()
Returns fields raw type.
|
java.lang.Class |
resolveRawComponentType(int index)
Resolves raw component type for given index.
|
protected final ClassDescriptor classDescriptor
protected final java.lang.reflect.Field field
protected final java.lang.reflect.Type type
protected final java.lang.Class rawType
protected final java.lang.Class rawComponentType
protected final java.lang.Class rawKeyComponentType
public FieldDescriptor(ClassDescriptor classDescriptor, java.lang.reflect.Field field)
public ClassDescriptor getClassDescriptor()
public java.lang.reflect.Field getField()
public java.lang.Class getRawType()
public java.lang.Class getRawComponentType()
null
if field has no component type.public java.lang.Class getRawKeyComponentType()
null
if field has no component type.public java.lang.Class resolveRawComponentType(int index)
Copyright © 2003-2013 Jodd Team