I'm new to annotations and am wondering if I need the @Named annotation for my Bar class. I've googled some but still don't know if the annoation is needed for this inner class.
public abstract class Foo{
//code
@Named
@Configuration
class Bar{
//code
}
}