---
title: "Comment by alicia beltran on \"Mastering Hilt - Android | Kotlin | Hilt (Dagger 2) [Part 7]\" | Hashnode"
description: "Hi, thanks for your sample, and explanatio. I want to know where should be defined those new annotations? inside the same module where it can be used?"
url: "https://hashnode.com/posts/mastering-hilt-android-kotlin-hilt-dagger-2-part-7/6526d1560af43f117acf612c/comment/656a796e9475ae5ae8b4ccbf"
---

[Discussion](https://hashnode.com/posts/mastering-hilt-android-kotlin-hilt-dagger-2-part-7/6526d1560af43f117acf612c)

Comment [Mastering Hilt - Android | Kotlin | Hilt (Dagger 2) \[Part 7\]](https://hashnode.com/posts/mastering-hilt-android-kotlin-hilt-dagger-2-part-7/6526d1560af43f117acf612c)

[alicia beltran](https://hashnode.com/@aliceresponde)

[Dec 2, 2023](https://hashnode.com/posts/mastering-hilt-android-kotlin-hilt-dagger-2-part-7/6526d1560af43f117acf612c/comment/656a796e9475ae5ae8b4ccbf)

Hi, thanks for your sample, and explanatio. I want to know where should be defined those new annotations? inside the same module where it can be used?

[Romman Sabbir](https://hashnode.com/@rommansabbir)

[Dec 2, 2023](https://hashnode.com/posts/mastering-hilt-android-kotlin-hilt-dagger-2-part-7/6526d1560af43f117acf612c/comment/656a796e9475ae5ae8b4ccbf#reply-656b033903318819fa3369b6)

You can place the code in a Kotlin Class/File under the same package. Just make sure the new annotations is accessible.
