Tonny Kohar wrote:
> Hi,
> 
> How do I check method return type  whether it is Property,
> Association, ManyAssociation ?
> Is there an API for this ? or I should use the plain reflection
> methods.getReturnType or method.getGenericReturnType ?

Use reflection, i.e. Property.isAssignableFrom(method.getReturnType()). 
There's a couple of examples of this in the code already.

/Rickard

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to