Guice ignoring @Nullable on injected constructor parameter

后端 未结 1 1822
天涯浪人
天涯浪人 2021-01-24 23:57

I\'m using Guice (v 3.0) and have a value that is being injected into a constructor. This value can be null, so I have annotated the parameter in the constructor with @Nullable

相关标签:
1条回答
  • 2021-01-25 00:21

    Turned out to be an eclipse problem - wasn't refreshing my workspace properly.

    0 讨论(0)
提交回复
热议问题