org.springframework.core.convert
Class FieldDescriptor

java.lang.Object
  extended by org.springframework.core.convert.AbstractDescriptor
      extended by org.springframework.core.convert.FieldDescriptor

 class FieldDescriptor
extends AbstractDescriptor

Since:
3.1
Author:
Keith Donald

Field Summary
private  java.lang.reflect.Field field
           
private  int nestingLevel
           
private  java.util.Map<java.lang.Integer,java.lang.Integer> typeIndexesPerLevel
           
 
Constructor Summary
private FieldDescriptor(java.lang.Class<?> type, java.lang.reflect.Field field, int nestingLevel, int typeIndex, java.util.Map<java.lang.Integer,java.lang.Integer> typeIndexesPerLevel)
           
  FieldDescriptor(java.lang.reflect.Field field)
           
 
Method Summary
 java.lang.annotation.Annotation[] getAnnotations()
           
protected  AbstractDescriptor nested(java.lang.Class<?> type, int typeIndex)
           
protected  java.lang.Class<?> resolveCollectionElementType()
           
protected  java.lang.Class<?> resolveMapKeyType()
           
protected  java.lang.Class<?> resolveMapValueType()
           
 
Methods inherited from class org.springframework.core.convert.AbstractDescriptor
getElementTypeDescriptor, getMapKeyTypeDescriptor, getMapValueTypeDescriptor, getType, nested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

field

private final java.lang.reflect.Field field

nestingLevel

private final int nestingLevel

typeIndexesPerLevel

private java.util.Map<java.lang.Integer,java.lang.Integer> typeIndexesPerLevel
Constructor Detail

FieldDescriptor

public FieldDescriptor(java.lang.reflect.Field field)

FieldDescriptor

private FieldDescriptor(java.lang.Class<?> type,
                        java.lang.reflect.Field field,
                        int nestingLevel,
                        int typeIndex,
                        java.util.Map<java.lang.Integer,java.lang.Integer> typeIndexesPerLevel)
Method Detail

getAnnotations

public java.lang.annotation.Annotation[] getAnnotations()
Specified by:
getAnnotations in class AbstractDescriptor

resolveCollectionElementType

protected java.lang.Class<?> resolveCollectionElementType()
Specified by:
resolveCollectionElementType in class AbstractDescriptor

resolveMapKeyType

protected java.lang.Class<?> resolveMapKeyType()
Specified by:
resolveMapKeyType in class AbstractDescriptor

resolveMapValueType

protected java.lang.Class<?> resolveMapValueType()
Specified by:
resolveMapValueType in class AbstractDescriptor

nested

protected AbstractDescriptor nested(java.lang.Class<?> type,
                                    int typeIndex)
Specified by:
nested in class AbstractDescriptor