---
title: "Discussion on \"How Glass reads generic method instantiations\" | Hashnode"
description: "Discussion on \"How Glass reads generic method instantiations\". Call a generic method twice with different types and the compiler does not copy the method. It emits the body once, against placeholders, and records each call's type arguments in a tiny separate stru"
url: "https://hashnode.com/posts/how-glass-reads-generic-method-instantiations/6afb0e64cf5301ac94482737"
---

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

Discussion

# [How Glass reads generic method instantiations](https://delta1labs.hashnode.dev/how-glass-reads-generic-method-instantiations?utm_source=hashnode&utm_medium=feed)

Call a generic method twice with different types and the compiler does not copy the method. It emits the body once, against placeholders, and records each call's type arguments in a tiny separate stru

Nov 16 · 7 min read · delta1labs.hashnode.dev  
Updated 4h ago  
Read the article

-   [#generics](https://hashnode.com/tag/generics)
-   [#glass](https://hashnode.com/tag/glass)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
