public final class CreatorCandidate extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CreatorCandidate.Param |
Modifier and Type | Field and Description |
---|---|
protected AnnotatedWithParams |
_creator |
protected AnnotationIntrospector |
_intr |
protected int |
_paramCount |
protected CreatorCandidate.Param[] |
_params |
Modifier | Constructor and Description |
---|---|
protected |
CreatorCandidate(AnnotationIntrospector intr,
AnnotatedWithParams ct,
CreatorCandidate.Param[] params,
int count) |
Modifier and Type | Method and Description |
---|---|
static CreatorCandidate |
construct(AnnotationIntrospector intr,
AnnotatedWithParams creator,
BeanPropertyDefinition[] propDefs) |
AnnotatedWithParams |
creator() |
PropertyName |
explicitParamName(int i) |
PropertyName |
findImplicitParamName(int i) |
int |
findOnlyParamWithoutInjection()
Specialized accessor that finds index of the one and only parameter
with NO injection and returns that; or, if none or more than one found,
returns -1.
|
com.fasterxml.jackson.annotation.JacksonInject.Value |
injection(int i) |
int |
paramCount() |
AnnotatedParameter |
parameter(int i) |
PropertyName |
paramName(int i) |
BeanPropertyDefinition |
propertyDef(int i) |
String |
toString() |
protected final AnnotationIntrospector _intr
protected final AnnotatedWithParams _creator
protected final int _paramCount
protected final CreatorCandidate.Param[] _params
protected CreatorCandidate(AnnotationIntrospector intr, AnnotatedWithParams ct, CreatorCandidate.Param[] params, int count)
public static CreatorCandidate construct(AnnotationIntrospector intr, AnnotatedWithParams creator, BeanPropertyDefinition[] propDefs)
public AnnotatedWithParams creator()
public int paramCount()
public com.fasterxml.jackson.annotation.JacksonInject.Value injection(int i)
public AnnotatedParameter parameter(int i)
public BeanPropertyDefinition propertyDef(int i)
public PropertyName paramName(int i)
public PropertyName explicitParamName(int i)
public PropertyName findImplicitParamName(int i)
public int findOnlyParamWithoutInjection()
Copyright © 2008–2020 FasterXML. All rights reserved.