On 2010-01-18 14.36, Stanislav Muhametsin wrote:
where @Optional refers to return-value (as it doesn't make sense to
say "Optional" on the method), and @Assigned is clearly for the
method, and yet the implementation AssignedConstraint simply
implements Constraint<Assigned,Assignable>.
Would that could cause any ambiguity in case return-value constraint
takes some parameters too?
Such as...?
By the way, as a nit-picking note, I just realized that that specific
example doesn't make sense - applying return-value constraint on a void
method. :)
True :-) Just imagine it says "Boolean" instead (so that it can actually
be null).
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev