public class ReflectionBasedAttributeDefinitionDiscovery extends java.lang.Object implements AttributeDefinitionDiscovery
| Constructor and Description |
|---|
ReflectionBasedAttributeDefinitionDiscovery() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributeAccessor<java.lang.Object,java.lang.Object> |
createInvoker(java.lang.Class<? extends AttributeAccessor<?,?>> accessorType) |
<B> java.util.Set<AttributeDefinition<?,B>> |
discoverFor(java.lang.Class<B> beanType) |
protected Attribute |
findAnnotationFor(java.beans.PropertyDescriptor descriptor) |
protected AttributeDefinition<?,?> |
generateDefinitionFor(java.beans.PropertyDescriptor descriptor,
Attribute attribute) |
protected java.util.Set<AttributeDefinition<?,?>> |
generateDefinitionsFor(java.lang.Class<?> beanType) |
protected java.beans.BeanInfo |
getBeanInfoFor(java.lang.Class<?> beanType) |
static ReflectionBasedAttributeDefinitionDiscovery |
reflectionBasedAttributeDefinitionDiscovery() |
public ReflectionBasedAttributeDefinitionDiscovery()
@Nonnull public static ReflectionBasedAttributeDefinitionDiscovery reflectionBasedAttributeDefinitionDiscovery()
@Nonnull public <B> java.util.Set<AttributeDefinition<?,B>> discoverFor(@Nonnull java.lang.Class<B> beanType)
discoverFor in interface AttributeDefinitionDiscovery@Nonnull protected java.util.Set<AttributeDefinition<?,?>> generateDefinitionsFor(@Nonnull java.lang.Class<?> beanType)
@Nonnull
protected java.beans.BeanInfo getBeanInfoFor(@Nonnull
java.lang.Class<?> beanType)
@Nullable protected Attribute findAnnotationFor(@Nonnull java.beans.PropertyDescriptor descriptor)
@Nonnull protected AttributeDefinition<?,?> generateDefinitionFor(@Nonnull java.beans.PropertyDescriptor descriptor, @Nonnull Attribute attribute)
@Nonnull protected AttributeAccessor<java.lang.Object,java.lang.Object> createInvoker(@Nonnull java.lang.Class<? extends AttributeAccessor<?,?>> accessorType)
Copyright © 2016 echocat. All Rights Reserved.