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.
null
com.thoughtworks.proxy.toys.nullobject
public 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 usenull
com.thoughtworks.proxy.toys.nullobject
Copyright © 2005–2018 Codehaus. All rights reserved.