从上面的 injectMembers 方法中可以看到注入依赖的代码是 instance.car = carProvider.get(); ,所以 @Inject 标注的成员属性不能是 private 的,不然无法 ...
確定! 回上一頁