Interface CrossParameterTarget
-
- All Known Subinterfaces:
ConstructorConstraintMappingContext,MethodConstraintMappingContext,ParameterConstraintMappingContext,ReturnValueConstraintMappingContext
public interface CrossParameterTargetFacet 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CrossParameterConstraintMappingContextcrossParameter()Selects the cross-parameter element of a method or constructor as target for the next constraint declaration operations.
-
-
-
Method Detail
-
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.
-
-