Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for IsInterface (0.1 sec)

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

        }
    
        @Override
        public void visit(ClassOrInterfaceDeclaration classDeclaration, ClassMetaDataRepository<ClassMetaData> repository) {
            visitTypeDeclaration(classDeclaration, repository, classDeclaration.isInterface() ? MetaType.INTERFACE : MetaType.CLASS, () -> {
                visitExtendedTypes(classDeclaration);
                visitImplementedTypes(classDeclaration);
                super.visit(classDeclaration, repository);
            });
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                return value;
            }
            try {
                final Class<?> implType = getClassForImplementationHint(type, configuration, loader);
                if (null == value && implType.isInterface() && configuration.getChildCount() == 0) {
                    return null; // nothing to process
                }
                final Object bean = instantiateObject(implType);
                if (null == value) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @SuppressWarnings("unchecked") // returns default for both F and T
          T defaultConverter = (T) defaultConverter(convertFromType, convertToType);
          return defaultConverter;
        }
        if (type.getRawType().isInterface()) {
          return newDefaultReturningProxy(type);
        }
        return null;
      }
    
      private <F, T> Converter<F, T> defaultConverter(
          final TypeToken<F> convertFromType, final TypeToken<T> convertToType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
        return ArbitraryInstances.get(rawType);
      }
    
      private <T> T newProxy(final Class<T> interfaceType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
        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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          @SuppressWarnings("unchecked") // returns default for both F and T
          T defaultConverter = (T) defaultConverter(convertFromType, convertToType);
          return defaultConverter;
        }
        if (type.getRawType().isInterface()) {
          return newDefaultReturningProxy(type);
        }
        return null;
      }
    
      private <F, T> Converter<F, T> defaultConverter(
          final TypeToken<F> convertFromType, final TypeToken<T> convertToType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top