Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for resolveTypes (0.16 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

            method.setReturnType(returnType);
            method.setRawCommentText(rawCommentText);
            return method;
        }
    
        @Override
        public void resolveTypes(Transformer<String, String> transformer) {
            super.resolveTypes(transformer);
            if (superClassName != null) {
                superClassName = transformer.transform(superClassName);
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

        Type[] upperBounds = type.getUpperBounds();
        return new Types.WildcardTypeImpl(resolveTypes(lowerBounds), resolveTypes(upperBounds));
      }
    
      private Type resolveGenericArrayType(GenericArrayType type) {
        Type componentType = type.getGenericComponentType();
        Type resolvedComponentType = resolveType(componentType);
        return Types.newArrayType(resolvedComponentType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

        Type[] upperBounds = type.getUpperBounds();
        return new Types.WildcardTypeImpl(resolveTypes(lowerBounds), resolveTypes(upperBounds));
      }
    
      private Type resolveGenericArrayType(GenericArrayType type) {
        Type componentType = type.getGenericComponentType();
        Type resolvedComponentType = resolveType(componentType);
        return Types.newArrayType(resolvedComponentType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

        }
    
        public String getReplacement() {
            return replacement;
        }
    
        public void setReplacement(String replacement) {
            this.replacement = replacement;
        }
    
        public void resolveTypes(Transformer<String, String> transformer) {
            for (int i = 0; i < annotationNames.size(); i++) {
                annotationNames.set(i, transformer.transform(annotationNames.get(i)));
            }
        }
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            }
        }
    
        def fullyQualifyAllTypeNames(gradlebuild.docs.dsl.source.model.ClassMetaData classMetaData, TypeNameResolver resolver) {
            try {
                classMetaData.resolveTypes(new Transformer<String, String>(){
                    String transform(String i) {
                        return resolver.resolve(i, classMetaData)
                    }
                })
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

      public void testWhere_noMapping() {
        Type t = aTypeVariable();
        assertEquals(t, new TypeResolver().resolveType(t));
      }
    
      public void testWhere_typeVariableMapping() {
        Type t = aTypeVariable();
        assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t));
      }
    
      public <T> void testWhere_indirectMapping() {
        Type t1 = new TypeCapture<T>() {}.capture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

      public void testWhere_noMapping() {
        Type t = aTypeVariable();
        assertEquals(t, new TypeResolver().resolveType(t));
      }
    
      public void testWhere_typeVariableMapping() {
        Type t = aTypeVariable();
        assertEquals(String.class, new TypeResolver().where(t, String.class).resolveType(t));
      }
    
      public <T> void testWhere_indirectMapping() {
        Type t1 = new TypeCapture<T>() {}.capture();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
            }
          }
          return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(Long.class, f.resolveType(Iterable.class.getTypeParameters()[0]).getType());
      }
    
      public <E extends Comparable<Iterable<String>> & Iterable<Integer>>
          void testResolveType_fromTypeVariable_onlyDirectBoundsAreUsed() {
        TypeToken<?> e = TypeToken.of(new TypeCapture<E>() {}.capture());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top