OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:InvocationHandler
(Results
1 - 25
of
245
) sorted by null
1
2
3
4
5
6
7
8
9
10
/external/easymock/src/org/easymock/internal/
IProxyFactory.java
18
import java.lang.reflect.
InvocationHandler
;
21
T createProxy(Class<T> toMock,
InvocationHandler
handler);
JavaProxyFactory.java
18
import java.lang.reflect.
InvocationHandler
;
23
public T createProxy(Class<T> toMock,
InvocationHandler
handler) {
MockInvocationHandler.java
19
import java.lang.reflect.
InvocationHandler
;
22
public final class MockInvocationHandler implements
InvocationHandler
, Serializable {
/libcore/ojluni/src/main/java/java/lang/reflect/
InvocationHandler.java
29
* {@code
InvocationHandler
} is the interface implemented by
41
public interface
InvocationHandler
{
/libcore/support/src/test/java/tests/io/
MockOs.java
21
import java.lang.reflect.
InvocationHandler
;
37
private final InheritableThreadLocal<Map<String, Deque<
InvocationHandler
>>> handlers
38
= new InheritableThreadLocal<Map<String, Deque<
InvocationHandler
>>>() {
39
@Override protected Map<String, Deque<
InvocationHandler
>> initialValue() {
40
return new HashMap<String, Deque<
InvocationHandler
>>();
45
private final
InvocationHandler
delegateHandler = new
InvocationHandler
() {
55
private final
InvocationHandler
invocationHandler
= new
InvocationHandler
() {
[
all
...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
InvocationHandler.java
21
* {@link java.lang.reflect.
InvocationHandler
} replacement (unavailable under JDK 1.2).
25
* @version $Id:
InvocationHandler
.java,v 1.3 2004/06/24 21:15:20 herbyderby Exp $
27
public interface
InvocationHandler
31
* @see java.lang.reflect.
InvocationHandler
#invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object)
Proxy.java
40
protected
InvocationHandler
h;
56
protected Proxy(
InvocationHandler
h) {
63
protected ProxyImpl(
InvocationHandler
h) {
68
public static
InvocationHandler
getInvocationHandler(Object proxy) {
80
InvocationHandler
.class,
92
public static Object newProxyInstance(ClassLoader loader, Class[] interfaces,
InvocationHandler
h) {
95
return clazz.getConstructor(new Class[]{
InvocationHandler
.class }).newInstance(new Object[]{ h });
/art/test/044-proxy/src/
Clash.java
17
import java.lang.reflect.
InvocationHandler
;
28
InvocationHandler
handler = new ClashInvocationHandler();
63
class ClashInvocationHandler implements
InvocationHandler
{
Clash2.java
17
import java.lang.reflect.
InvocationHandler
;
28
InvocationHandler
handler = new Clash2InvocationHandler();
53
class Clash2InvocationHandler implements
InvocationHandler
{
Clash3.java
17
import java.lang.reflect.
InvocationHandler
;
28
InvocationHandler
handler = new Clash3InvocationHandler();
68
class Clash3InvocationHandler implements
InvocationHandler
{
ConstructorProxy.java
18
import java.lang.reflect.
InvocationHandler
;
25
class ConstructorProxy implements
InvocationHandler
{
40
Constructor<?> constructor = proxyClass.getConstructor(
InvocationHandler
.class);
NativeProxy.java
18
import java.lang.reflect.
InvocationHandler
;
52
public static class NativeInvocationHandler implements
InvocationHandler
{
Clash4.java
17
import java.lang.reflect.
InvocationHandler
;
28
InvocationHandler
handler = new Clash4InvocationHandler();
70
class Clash4InvocationHandler implements
InvocationHandler
{
FloatSelect.java
28
static class FloatSelectIInvoke1 implements
InvocationHandler
{
/external/guice/core/src/com/google/inject/internal/
DelegatingInvocationHandler.java
22
import java.lang.reflect.
InvocationHandler
;
26
class DelegatingInvocationHandler<T> implements
InvocationHandler
{
/external/guava/guava-tests/test/com/google/common/reflect/
ReflectionTest.java
23
import java.lang.reflect.
InvocationHandler
;
51
private static final
InvocationHandler
X_RETURNER = new
InvocationHandler
() {
/libcore/luni/src/test/java/libcore/java/lang/reflect/
ProxyTest.java
22
import java.lang.reflect.
InvocationHandler
;
32
private final
InvocationHandler
returnHandler = new TestInvocationHandler();
33
private final
InvocationHandler
throwHandler = new
InvocationHandler
() {
60
InvocationHandler
invocationHandlerB = (
InvocationHandler
) loaderB.loadClass(
248
InvocationHandler
handler = new
InvocationHandler
() {
261
InvocationHandler
handler = new
InvocationHandler
() {
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
ProxyTest.java
25
import java.lang.reflect.
InvocationHandler
;
54
class Broken1Invoke implements
InvocationHandler
{
62
protected ProxyCoonstructorTest(
InvocationHandler
h) {
100
* java.lang.reflect.Proxy#Proxy(java.lang.reflect.
InvocationHandler
)
103
assertNotNull(new ProxyCoonstructorTest(new
InvocationHandler
() {
115
* java.lang.Class[], java.lang.reflect.
InvocationHandler
)
121
Support_Proxy_I2.class }, new
InvocationHandler
() {
195
Proxy fake = new Proxy(new
InvocationHandler
() {
220
InvocationHandler
handler = new
InvocationHandler
() {
[
all
...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
ProxyDebuggee.java
24
import java.lang.reflect.
InvocationHandler
;
43
static class ProxyInvocationHandler implements
InvocationHandler
{
/external/guava/guava/src/com/google/common/reflect/
AbstractInvocationHandler.java
21
import java.lang.reflect.
InvocationHandler
;
29
* Abstract implementation of {@link
InvocationHandler
} that handles {@link Object#equals},
45
public abstract class AbstractInvocationHandler implements
InvocationHandler
{
58
*
InvocationHandler
} of {@code argument}
105
* <li>and this method returns true for the {@link
InvocationHandler
} of {@code argument}
Reflection.java
24
import java.lang.reflect.
InvocationHandler
;
87
Class<T> interfaceType,
InvocationHandler
handler) {
/external/guava/guava-tests/test/com/google/common/collect/
ForwardingTestCase.java
25
import java.lang.reflect.
InvocationHandler
;
65
InvocationHandler
handler = new
InvocationHandler
() {
123
InvocationHandler
handler = new
InvocationHandler
() {
/external/guice/extensions/servlet/test/com/google/inject/servlet/
ServletTestUtils.java
9
import java.lang.reflect.
InvocationHandler
;
31
private static class ThrowingInvocationHandler implements
InvocationHandler
{
99
private static class FakeHttpSessionHandler implements
InvocationHandler
, Serializable {
/external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
DexmakerMockMaker.java
21
import java.lang.reflect.
InvocationHandler
;
41
InvocationHandler
invocationHandler
= new InvocationHandlerAdapter(handler);
51
invocationHandler
);
63
handlerField.set(mock,
invocationHandler
);
85
InvocationHandler
invocationHandler
= Proxy.getInvocationHandler(mock);
86
return
invocationHandler
instanceof InvocationHandlerAdapter
87
? (InvocationHandlerAdapter)
invocationHandler
92
InvocationHandler
invocationHandler = ProxyBuilder.getInvocationHandler(mock)
[
all
...]
/external/guava/guava/src/com/google/common/util/concurrent/
SimpleTimeLimiter.java
26
import java.lang.reflect.
InvocationHandler
;
96
InvocationHandler
handler = new
InvocationHandler
() {
190
Class<T> interfaceType,
InvocationHandler
handler) {
Completed in 1125 milliseconds
1
2
3
4
5
6
7
8
9
10