| Constructor and Description |
|---|
JavassistProxifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isProxy(Object o)
Return
true if the object is a proxy, false otherwise. |
boolean |
isProxyType(Class<?> type)
Return
true if the type is a proxy, false otherwise. |
<T> T |
proxify(Class<T> type,
MethodInvocation<? super T> handler)
Creates a proxy for class defined in type parameter.
|
public <T> T proxify(Class<T> type, MethodInvocation<? super T> handler)
Proxifierpublic boolean isProxy(Object o)
Proxifiertrue if the object is a proxy, false otherwise. null objects always return
false.public boolean isProxyType(Class<?> type)
Proxifiertrue if the type is a proxy, false otherwise.isProxyType in interface Proxifiertype - Type to testtrue if the object is a proxy, false otherwise.Copyright © 2014 Caelum. All rights reserved.