Interface CrossParameterTarget
- All Known Subinterfaces:
ConstructorConstraintMappingContext
,MethodConstraintMappingContext
,ParameterConstraintMappingContext
,ReturnValueConstraintMappingContext
public interface CrossParameterTarget
Facet of a constraint mapping creational context which allows to select the cross-parameter element of a method
or constructor as target of the next operations.
- Author:
- Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptionSelects the cross-parameter element of a method or constructor as target for the next constraint declaration operations.
-
Method Details
-
crossParameter
CrossParameterConstraintMappingContext crossParameter()Selects the cross-parameter element of a method or constructor as target for the next constraint declaration operations. May only be configured once for a given method or constructor.- Returns:
- A creational context representing the cross-parameter element of the current method or constructor.
-