public class CdiProducer<T> implements Bean<T>, PassivationCapable {
private String id = this.getClass().getName();
private String name;
private Class<?> beanClass = Object.class;
private Set<Type> types = singleton(Object.class);
<BUG>private Set<Annotation> qualifiers = singleton(new DefaultAnnotationLiteral());
private Class<? extends Annotation> scope = Dependent.class;</BUG>
private Function<CreationalContext<T>, T> create;
@Override
public String getId() {

public class CdiProducer<T> implements Bean<T>, PassivationCapable {
private String id = this.getClass().getName();
private String name;
private Class<?> beanClass = Object.class;
private Set<Type> types = singleton(Object.class);
private Set<Annotation> qualifiers = unmodifiableSet(asSet(new DefaultAnnotationLiteral(), new AnyAnnotationLiteral()));
private Class<? extends Annotation> scope = Dependent.class;
private Function<CreationalContext<T>, T> create;
@Override
public String getId() {
