---
title: "Discussion on \"When thinking about Java fields we use-site target in Kotlin\" | Hashnode"
description: "Discussion on \"When thinking about Java fields we use-site target in Kotlin\". How to use the use-site targets in Kotlin to overcome dependency injection problems"
url: "https://hashnode.com/posts/when-thinking-about-java-fields-we-use-site-target-in-kotlin/678018d62814f0ebbc20607d"
---

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

Discussion

# [When thinking about Java fields we use-site target in Kotlin](https://jesperancinha.hashnode.dev/when-thinking-about-java-fields-we-use-site-target-in-kotlin?utm_source=hashnode&utm_medium=feed)

How to use the use-site targets in Kotlin to overcome dependency injection problems

Jan 9, 2025 · 9 min read · jesperancinha.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#java](https://hashnode.com/tag/java)
-   [#recordsinjava](https://hashnode.com/tag/recordsinjava)
-   [#records](https://hashnode.com/tag/records)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#use-site-target](https://hashnode.com/tag/use-site-target)
-   [#data-classes](https://hashnode.com/tag/data-classes)

## Written by

[João Esperancinha](https://hashnode.com/@jesperancinha)

@jesperancinha · Netherlands

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

Software programmer/engineer/developer

Software Engineer for 10+ Years, OCP11, Spring Professional 2020 and a Kong Champion

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
