| Modifier and Type | Field and Description |
|---|---|
private Null<T> |
nullObject |
| Modifier | Constructor and Description |
|---|---|
private |
NullBuild(Null<T> nullObject) |
| Modifier and Type | Method and Description |
|---|---|
T |
build()
Generate a Null Object proxy for a specific type using the
StandardProxyFactory. |
T |
build(ProxyFactory factory)
Generate a Null Object proxy for a specific type using a special
ProxyFactory. |
public T build()
StandardProxyFactory.
Note that the method will only return a proxy if it cannot handle the type itself or null if the
type cannot be proxied.
nullcom.thoughtworks.proxy.toys.nullobjectpublic T build(ProxyFactory factory)
ProxyFactory.
Note that the method will only return a proxy if it cannot handle the type itself or null if the
type cannot be proxied.
factory - the ProxyFactory in usenullcom.thoughtworks.proxy.toys.nullobject