How to access a @Provides inside Guice config()

前端 未结 0 1771
予麋鹿
予麋鹿 2020-12-30 07:14

Using Java 8 Guice, I need to access a boolean variable that can be accessed from a field injection like so:

@Named("isBooleanIWant") boolean isBool         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题