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 PMDias
11/12/2018, 9:04 PM@Target
is set to FIELD
Dias
11/12/2018, 9:06 PM@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 PMDias
11/12/2018, 9:06 PMDias
11/12/2018, 9:07 PMCasey Brooks
11/12/2018, 9:08 PMDias
11/12/2018, 9:09 PMDias
11/12/2018, 9:09 PM@Named
annotation works with similar setupDias
11/12/2018, 9:10 PMDias
11/12/2018, 9:10 PMCasey Brooks
11/12/2018, 9:11 PM