- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 391 for reflection (0.23 sec)
-
android/guava/src/com/google/common/reflect/Reflection.java
import java.lang.reflect.InvocationHandler; import java.lang.reflect.Proxy; /** * Static utilities relating to Java reflection. * * @since 12.0 */ @ElementTypesAreNonnullByDefault public final class Reflection { /** * Returns the package name of {@code clazz} according to the Java Language Specification (section
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
import java.util.Map; import junit.framework.TestCase; /** Tests for {@link Reflection} */ public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); assertEquals("java", Reflection.getPackageName("java.MyType")); assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ReflectionTest.java
import java.util.Map; import junit.framework.TestCase; /** Tests for {@link Reflection} */ public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); assertEquals("java", Reflection.getPackageName("java.MyType")); assertEquals("java.lang", Reflection.getPackageName(Iterable.class.getName()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingListWithEquals(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingListWithEquals(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
} } expectUnchanged(); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableKeyMethod() { return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableValueMethod() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType()); } private static class WithConstructorAndTypeParameter<T> { @SuppressWarnings("unused") // by reflection <X> WithConstructorAndTypeParameter() {} } public void testConstructor_returnType_hasTypeParameter() throws Exception { Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
@SuppressWarnings("unused") // Called by reflection private void privateMethod() {} @SuppressWarnings("unused") // Called by reflection void packagePrivateMethod() {} @SuppressWarnings("unused") // Called by reflection protected void protectedMethod() {} @SuppressWarnings("unused") // Called by reflection public void publicMethod() {} }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
} } expectUnchanged(); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableKeyMethod() { return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableValueMethod() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 6.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* the other. Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 5.8K bytes - Viewed (0)