Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Support annotation on annotation classes #3

Open
ZacSweers opened this issue Jan 8, 2020 · 0 comments
Open

Support annotation on annotation classes #3

ZacSweers opened this issue Jan 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@ZacSweers
Copy link
Owner

Given

@AutoAnnotation
annotation class Named(val name: String)

Generate an extension function directly

fun KClass<Named>.aakInstance(name: String): Named {
  // ...
}
@ZacSweers ZacSweers added the enhancement New feature or request label Jan 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant