ocs/api/java.base/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;?&gt;...&nbsp;groups)</pre>
<div class="block">Validates all constraints placed on the parameters of the given method.</div>
<dl>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>T</code> - the type hosting the method to validate</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>object</code> - the object on which the method to validate is in