in

A scope to be associated with this descriptor object. Note that at the current time a
descriptor can only have one scope, hence this method will throw an IllegalArgumentException
if in is called more than once.

in

A scope to be associated with this descriptor object. Note that at the current time a
descriptor can only have one scope, hence this method will throw an IllegalArgumentException
if in is called more than once.

qualifiedBy

A qualifier to be associated with this descriptor object. It is
dangerous to use this method with a ghost annotation (one that is
not on the object) if that annotation has fields, as these
fields will NOT survive being put into the Descriptor.
Use this method with care and ONLY with annotations that do
not have fields. A safe version of this method for use
with ghost annotations is
ActiveDescriptorBuilder.qualifiedBy(Annotation)

proxyForSameScope - if true then this descriptor will be proxied
even when being injected into the same scope,
if false then this descriptor will NOT be proxied when injected
into a service of the same scope

Returns:

A DescriptorBuilder with the proxyForSameScope field set to
the given value

buildFactory

Generates a factory descriptor that can be used in binding operations.
The generated factory service will have no name, no qualifiers and the
same metadata as given to this builder. The generated service will
have had the implementation class removed from its set of advertised
contracts

buildFactory

Generates a factory descriptor that can be used in binding operations.
The generated factory service will have no name, no qualifiers and the
same metadata as given to this builder. The factory will be put into
PerLookup scope

buildFactory

Generates a factory descriptor that can be used in binding operations.
The generated factory service will have no name, no qualifiers and the
same metadata as given to this builder. The generated service will
have had the implementation class removed from its set of advertised
contracts