<https://kotlinlang.org/docs/classes.html> is you...
# getting-started
a
https://kotlinlang.org/docs/classes.html is you says annotation equal to
@Inject
? is you says annotation equal to Decorator (another tech word)? why not use Decorator word?
is it equal to Typescript Decorator ?
j
The meaning of @Inject is not important for these docs. They could have chosen @Foo
g
It's just an example, and it uses popular javax.inject.Inject annotation, because it's one of more whide-spreaded examples of annotations used by man JSR-330 compatible dependency injection frameworks, but in this case, yes, any annotation can work, this one just real-life example