- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for NewProxy (0.21 sec)
-
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
if (rawType.isInterface()) { // always create a new proxy return newProxy(rawType); } return ArbitraryInstances.get(rawType); } private <T> T newProxy(final Class<T> interfaceType) { return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); } private Object invokeGeneratorMethod(Method generator, Object... args) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
if (rawType.isInterface()) { // always create a new proxy return newProxy(rawType); } return ArbitraryInstances.get(rawType); } private <T> T newProxy(final Class<T> interfaceType) { return Reflection.newProxy(interfaceType, new FreshInvocationHandler(interfaceType)); } private Object invokeGeneratorMethod(Method generator, Object... args) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 28.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds); @SuppressWarnings("unchecked") TypeVariable<D> typeVariable = Reflection.newProxy( TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl)); return typeVariable; } /** * Invocation handler to work around a compatibility problem between Java 7 and Java 8.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds); @SuppressWarnings("unchecked") TypeVariable<D> typeVariable = Reflection.newProxy( TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl)); return typeVariable; } /** * Invocation handler to work around a compatibility problem between Java 7 and Java 8.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 17 16:33:44 UTC 2024 - 23.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
return new DummyProxy() { @Override <R> @Nullable R dummyReturnValue(TypeToken<R> returnType) { return getDefaultValue(returnType); } }.newProxy(type); } private static Invokable<?, ?> invokable(@Nullable Object instance, Method method) { if (instance == null) { return Invokable.from(method); } else {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
return new DummyProxy() { @Override <R> @Nullable R dummyReturnValue(TypeToken<R> returnType) { return getDefaultValue(returnType); } }.newProxy(type); } private static Invokable<?, ?> invokable(@Nullable Object instance, Method method) { if (instance == null) { return Invokable.from(method); } else {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
T value = (T) ArbitraryInstances.get(rawType); if (value != null) { return value; } if (rawType.isInterface()) { return new SerializableDummyProxy(this).newProxy(type); } return null; } private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
T value = (T) ArbitraryInstances.get(rawType); if (value != null) { return value; } if (rawType.isInterface()) { return new SerializableDummyProxy(this).newProxy(type); } return null; } private static <T> T createInstance(Invokable<?, ? extends T> factory, List<?> args)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
pkg/istio-agent/agent.go
// This is a mode used for permission-less docker, where iptables can't be // used. a.envoyOpts.AgentIsRoot = os.Getuid() == 0 && strings.HasSuffix(a.cfg.DNSAddr, ":53") envoyProxy := envoy.NewProxy(a.envoyOpts) drainDuration := a.proxyConfig.TerminationDrainDuration.AsDuration() localHostAddr := localHostIPv4 if a.cfg.IsIPv6 { localHostAddr = localHostIPv6 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0)