getBeanNames<T extends Object> method
Gets bean names of the specified type
Implementation
List<String> getBeanNames<T extends Object>([String? qualifier]) {
final candidates = _beanRegistry[T];
if (candidates == null || candidates.isEmpty) {
return [];
}
return candidates
.map((def) => def.name)
.where((name) => qualifier == null || name == qualifier)
.toList();
}