public class ReferencesResolver
extends java.lang.Object
Constructor and Description |
---|
ReferencesResolver(PetiteConfig petiteConfig) |
Modifier and Type | Method and Description |
---|---|
BeanReferences |
buildDefaultReference(PropertyDescriptor propertyDescriptor)
Builds default field references.
|
BeanReferences[] |
readAllReferencesFromAnnotation(java.lang.reflect.Executable methodOrCtor)
Extracts references from method or constructor annotation.
|
BeanReferences |
readReferenceFromAnnotation(FieldDescriptor fieldDescriptor) |
BeanReferences |
readReferenceFromAnnotation(PropertyDescriptor propertyDescriptor)
Extracts references for given property.
|
BeanReferences |
resolveReferenceFromValue(PropertyDescriptor propertyDescriptor,
java.lang.String refName)
Resolves reference from given values.
|
BeanReferences[] |
resolveReferenceFromValues(java.lang.reflect.Executable methodOrCtor,
java.lang.String... parameterReferences)
Takes given parameters references and returns reference set for given method or constructor.
|
public ReferencesResolver(PetiteConfig petiteConfig)
public BeanReferences resolveReferenceFromValue(PropertyDescriptor propertyDescriptor, java.lang.String refName)
public BeanReferences[] resolveReferenceFromValues(java.lang.reflect.Executable methodOrCtor, java.lang.String... parameterReferences)
public BeanReferences readReferenceFromAnnotation(PropertyDescriptor propertyDescriptor)
null
if property is not marked with an
annotation.public BeanReferences readReferenceFromAnnotation(FieldDescriptor fieldDescriptor)
public BeanReferences[] readAllReferencesFromAnnotation(java.lang.reflect.Executable methodOrCtor)
public BeanReferences buildDefaultReference(PropertyDescriptor propertyDescriptor)
Copyright © 2003-present Jodd Team