Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LocalClass (0.05 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(null, ourType.getOwnerType());
      }
    
      public void testNewParameterizedType_nonStaticLocalClass() {
        class LocalClass<T> {}
        Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass();
        Type ourType = Types.newParameterizedType(LocalClass.class, String.class);
        assertEquals(jvmType, ourType);
      }
    
      public void testNewParameterizedType_staticLocalClass() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/Types.java

        static final ClassOwnership JVM_BEHAVIOR = detectJvmBehavior();
    
        private static ClassOwnership detectJvmBehavior() {
          class LocalClass<T> {}
          Class<?> subclass = new LocalClass<String>() {}.getClass();
          // requireNonNull is safe because we're examining a type that's known to have a superclass.
          ParameterizedType parameterizedType =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

        static final ClassOwnership JVM_BEHAVIOR = detectJvmBehavior();
    
        private static ClassOwnership detectJvmBehavior() {
          class LocalClass<T> {}
          Class<?> subclass = new LocalClass<String>() {}.getClass();
          // requireNonNull is safe because we're examining a type that's known to have a superclass.
          ParameterizedType parameterizedType =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
Back to top