Interface ReturnValueTarget
-
- All Known Subinterfaces:
ConstructorConstraintMappingContext,ContainerElementConstraintMappingContext,CrossParameterConstraintMappingContext,MethodConstraintMappingContext,ParameterConstraintMappingContext
- All Known Implementing Classes:
ContainerElementConstraintMappingContextImpl
public interface ReturnValueTargetFacet of a constraint mapping creational context which allows to select the current method's or constructor's return value as target for the next operations.- Author:
- Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI, Gunnar Morling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReturnValueConstraintMappingContextreturnValue()Selects the current method's return value as the target for the next operations.
-
-
-
Method Detail
-
returnValue
ReturnValueConstraintMappingContext returnValue()
Selects the current method's return value as the target for the next operations. The return value of one method or constructor may only be configured more once.- Returns:
- A creational context representing the current method's or constructor's return value.
-
-