ArgumentsValidator that validates the array type is compatible with the element type.
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| public static final ArgumentsValidator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BasicType | getElementType(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
|
| protected BasicType | getElementType(int arrayIndex, List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
|
| protected BasicPluralType | getPluralType(int arrayIndex, List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
|
| public void | validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration)
Overrides default org. SqmTypedNode tree and assigned Java types.
|
| arrayIndex | back to summary |
|---|---|
| private final int arrayIndex | |
| DEFAULT_INSTANCE | back to summary |
|---|---|
| public static final ArgumentsValidator DEFAULT_INSTANCE | |
| ArrayArgumentValidator | back to summary |
|---|---|
| public ArrayArgumentValidator(int arrayIndex) | |
| getElementType | back to summary |
|---|---|
| protected BasicType | |
| getElementType | back to summary |
|---|---|
| protected BasicType | |
| getPluralType | back to summary |
|---|---|
| protected BasicPluralType | |
| validate | back to summary |
|---|---|
| public void validate(List<? extends SqmTypedNode<?>> arguments, String functionName, TypeConfiguration typeConfiguration) Overrides default org. Doc from org. Perform validation that may be done using the
| |