qualifierByStereotype

inline fun <T, Q : Annotation> qualifierByStereotype(): Qualifier<T>

Top level function acting as a Kotlin shortcut allowing to write qualifierByStereotype<Foo, Bar>() instead of Qualifiers.byStereotype(Bar::class.java).

Return

The Qualifier

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The component type

Q

The stereotype type


inline fun <T> qualifierByStereotype(name: String): Qualifier<T>

Top level function acting as a Kotlin shortcut allowing to write qualifierByStereotype<Foo>(string) instead of Qualifiers.byStereotype(string).

Return

The Qualifier

Author

James Kleeh

Since

3.0.0

Parameters

T

The component type

name

The stereotype name