Files
openide/plugins/groovy/groovy-psi/resources/inspectionDescriptions/DelegatesTo.html
Daniil Ovchinnikov 9698ba64a0 [groovy] inspection descriptions
ChangeToMethod
ChangeToOperator
ClashingGetters
ClashingTraitMethods
DelegatesTo
GrAnnotationReferencingUnknownIdentifiers

GitOrigin-RevId: fd1d8b8e6e6615f1ecc930b85eb77b5f20a7f28a
2021-05-31 17:35:52 +00:00

14 lines
367 B
HTML

<html>
<body>
Reports unused <code>@DelegatesTo.Target</code> annotations and unresolved <code>@DelegatedTo.target</code> annotation attribute values.
<p><b>Example:</b></p>
<pre><code>
// unused target 't1' and unresolved target 't2'
def m(
@DelegatesTo.Target('t1') target,
@DelegatesTo(target = 't2') Closure c
) {}
</code></pre>
</body>
</html>