---
title: "Discussion on \"Small Gem: @Delegate annotation\" | Hashnode"
description: "Discussion on \"Small Gem: @Delegate annotation\". While looking through some source code  of the open source library groovy-wslite, I came across an annotation I had not seen before - @Delegate.  This annotation adds all public instance methods of the annotated field to the present class.    In the ..."
url: "https://hashnode.com/posts/small-gem-delegate-annotation/61560a0ae896275f335dfbe3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Small Gem: @Delegate annotation](https://codegroovy.com/small-gem-delegate-annotation?utm_source=hashnode&utm_medium=feed)

While looking through some source code of the open source library groovy-wslite, I came across an annotation I had not seen before - @Delegate. This annotation adds all public instance methods of the annotated field to the present class. In the ...

Sep 30, 2021 · 1 min read · codegroovy.com  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)

## Written by

[Miriam](https://hashnode.com/@mimi)

@mimi

  
[View profile](https://hashnode.com/@mimi)

software engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
