abstract class DummyProxy
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private class |
DummyProxy.DummyHandler |
Constructor and Description |
---|
DummyProxy() |
Modifier and Type | Method and Description |
---|---|
(package private) abstract <R> R |
dummyReturnValue(TypeToken<R> returnType)
Returns the dummy return value for
returnType . |
(package private) <T> T |
newProxy(TypeToken<T> interfaceType)
Returns a new proxy for
interfaceType . |
final <T> T newProxy(TypeToken<T> interfaceType)
interfaceType
. Proxies of the same interface are equal to each
other if the DummyProxy
instance that created the proxies are equal.abstract <R> R dummyReturnValue(TypeToken<R> returnType)
returnType
.