Dias
11/12/2018, 4:18 PMCasey Brooks
11/12/2018, 8:56 PM@Retention(AnnotationRetention.RUNTIME)
annotation class CustomGuiceAnnotation
Dias
11/12/2018, 9:02 PM@Target
is set to FIELD
@field:CustomGuiceAnnotation
at the injection side to no availCasey Brooks
11/12/2018, 9:06 PM@Retention
should go on the annotation class itself, right next to @Target
, not on the constructor or a fieldDias
11/12/2018, 9:06 PMCasey Brooks
11/12/2018, 9:08 PMDias
11/12/2018, 9:09 PM@Named
annotation works with similar setupCasey Brooks
11/12/2018, 9:11 PM