Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getRawType (0.15 sec)

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

        assertEquals(StringForFirstTypeArg.StringInnerType.class, actualSubtype.getRawType());
        assertThat(actualSubtype.getActualTypeArguments()[0]).isInstanceOf(WildcardType.class);
        ParameterizedType actualOwnerType = (ParameterizedType) actualSubtype.getOwnerType();
        assertEquals(StringForFirstTypeArg.class, actualOwnerType.getRawType());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

            .isTrue();
        if (!spec.suppressGetSubtype()) {
          assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType);
        }
        if (!spec.suppressGetSupertype()) {
          assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
              .isEqualTo(returnType);
        }
        return sub;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(StringForFirstTypeArg.StringInnerType.class, actualSubtype.getRawType());
        assertThat(actualSubtype.getActualTypeArguments()[0]).isInstanceOf(WildcardType.class);
        ParameterizedType actualOwnerType = (ParameterizedType) actualSubtype.getOwnerType();
        assertEquals(StringForFirstTypeArg.class, actualOwnerType.getRawType());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        T defaultValue = (T) defaults.getInstance(type.getRawType());
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe
        T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
        if (arbitrary != null) {
          return arbitrary;
        }
        if (type.getRawType() == Class.class) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/SubtypeTester.java

            .isTrue();
        if (!spec.suppressGetSubtype()) {
          assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType);
        }
        if (!spec.suppressGetSupertype()) {
          assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
              .isEqualTo(returnType);
        }
        return sub;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

              populateTypeMappings(
                  mappings, fromParameterizedType.getOwnerType(), toParameterizedType.getOwnerType());
            }
            checkArgument(
                fromParameterizedType.getRawType().equals(toParameterizedType.getRawType()),
                "Inconsistent raw type: %s vs. %s",
                fromParameterizedType,
                to);
            Type[] fromArgs = fromParameterizedType.getActualTypeArguments();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
            final Class<?> rawType = toType.getRawType();
            if (XmlNode.class.isAssignableFrom(rawType)) {
                return XmlNodeBuilder.build(parser);
            }
            if (Xpp3Dom.class.isAssignableFrom(rawType)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java

         */
        boolean isParameterizedClass();
    
        /**
         * 原型となるクラスを返します。
         *
         * @param <T>
         *            原型となるクラスの型
         * @return 原型となるクラス
         * @see ParameterizedType#getRawType()
         */
        <T> Class<T> getRawClass();
    
        /**
         * 型引数を表す{@link ParameterizedClassDesc}の配列を返します。
         * <p>
         * このインスタンスが表現するクラスがパラメタ化されたクラスでない場合は、{@literal null}を返します。
         * </p>
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        T defaultValue = (T) defaults.getInstance(type.getRawType());
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe
        T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
        if (arbitrary != null) {
          return arbitrary;
        }
        if (type.getRawType() == Class.class) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

        }
    
        public List<TypeMetaData> getTypeArgs() {
            return typeArgs;
        }
    
        public TypeMetaData getRawType() {
            if (wildcard || lowerBounds != null) {
                return OBJECT;
            }
            if (upperBounds != null) {
                return upperBounds.getRawType();
            }
            TypeMetaData rawType = new TypeMetaData(name);
            rawType.arrayDimensions = arrayDimensions;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
Back to top