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 |
protected Map<String,BeanCreator.BeanCreatorProperty> |
paramsAndAliases |
Constructor and Description |
---|
BeanCreator(Class<?> ofClass,
Class<?> declaringClass,
Class<?> concreteClass,
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 |
getModifiers() |
Map<String,BeanCreator.BeanCreatorProperty> |
getProperties() |
abstract int |
priority() |
protected abstract String |
signature() |
decorate, getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent, isOfType, isWrapped, toAnnotatedElement, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType
protected final Class<?> ofClass
protected final Map<String,BeanCreator.BeanCreatorProperty> parameters
protected final Map<String,BeanCreator.BeanCreatorProperty> paramsAndAliases
public int compareTo(BeanCreator o)
compareTo
in interface Comparable<BeanCreator>
protected abstract String signature()
public abstract int priority()
protected JsonBindingException couldNotCreate(Exception e)
public Map<String,BeanCreator.BeanCreatorProperty> getProperties()
public abstract int getModifiers()
Copyright © 2019. All rights reserved.