public static class Null.NullBuild<T> extends Object
| 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.nullobjectCopyright © 2005–2018 Codehaus. All rights reserved.