我是注释的新手,想知道我的 Bar 类是否需要 @Named 注释。我已经用谷歌搜索了一些,但仍然不知道这个内部类是否需要注释。
public abstract class Foo{
//code
@Named
@Configuration
class Bar{
}
精慕HU
相关分类