public abstract class BeanCreator extends Wrapper<AnnotatedElement> implements Comparable<BeanCreator>
| Modifier and Type | Class and Description |
|---|---|
static class |
BeanCreator.BeanCreatorProperty |
static class |
BeanCreator.ConstructorBeanCreator |
static class |
BeanCreator.MethodBeanCreator |
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
ofClass |
protected Map<String,BeanCreator.BeanCreatorProperty> |
parameters |
| Constructor and Description |
|---|
BeanCreator(Class<?> ofClass,
String[] parameterNames,
Type[] types,
Annotation[][] anns) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BeanCreator o) |
int |
contains(List<String> properties) |
protected JsonBindingException |
couldNotCreate(Exception e) |
abstract Object |
create(Object... args) |
abstract int |
priority() |
protected abstract String |
signature() |
decorate, getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, isWrapped, toAnnotatedElement, unwrapprotected final Class<?> ofClass
protected final Map<String,BeanCreator.BeanCreatorProperty> parameters
public BeanCreator(Class<?> ofClass, String[] parameterNames, Type[] types, Annotation[][] anns)
public int compareTo(BeanCreator o)
compareTo in interface Comparable<BeanCreator>protected abstract String signature()
public abstract int priority()
protected JsonBindingException couldNotCreate(Exception e)
Copyright © 2014. All Rights Reserved.