org.springframework.context.annotation
Class CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
java.lang.Object
org.springframework.beans.factory.config.DependencyDescriptor
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- CommonAnnotationBeanPostProcessor
private static class CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
- extends DependencyDescriptor
Extension of the DependencyDescriptor class,
overriding the dependency type with the specified resource type.
Method Summary |
java.lang.Class |
getDependencyType()
Determine the declared (non-generic) type of the wrapped parameter/field. |
Methods inherited from class org.springframework.beans.factory.config.DependencyDescriptor |
getAnnotations, getCollectionType, getDependencyName, getField, getGenericDependencyType, getMapKeyType, getMapValueType, getMethodParameter, initParameterNameDiscovery, isEager, isRequired |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lookupType
private final java.lang.Class lookupType
CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
public CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor(java.lang.reflect.Field field,
java.lang.Class lookupType)
CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor
public CommonAnnotationBeanPostProcessor.LookupDependencyDescriptor(java.lang.reflect.Method method,
java.lang.Class lookupType)
getDependencyType
public java.lang.Class getDependencyType()
- Description copied from class:
DependencyDescriptor
- Determine the declared (non-generic) type of the wrapped parameter/field.
- Overrides:
getDependencyType
in class DependencyDescriptor
- Returns:
- the declared type (never
null
)