@FunctionalInterfaceSE public interface BindConstructorProvider
修飾子と型 | フィールドと説明 |
---|---|
static BindConstructorProvider | DEFAULT コンストラクターが 1 つあり、バインド可能オブジェクトに既存の値がない場合にのみ値を返すデフォルトの BindConstructorProvider 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
ConstructorSE<?> | getBindConstructor(Bindable<?> bindable, boolean isNestedConstructorBinding) 指定されたバインド可能オブジェクトに使用するバインドコンストラクターを返します。コンストラクターバインディングがサポートされていない場合は null を返します。 |
static final BindConstructorProvider DEFAULT
BindConstructorProvider
実装。ConstructorSE<?> getBindConstructor(Bindable<?> bindable, boolean isNestedConstructorBinding)
null
を返します。bindable
- チェックするバインド可能 isNestedConstructorBinding
- このバインディングがコンストラクターバインディング内にネストされている場合 null