Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for CONSTRUCTOR (0.19 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                private final Constructor<?> constructor;
                private final InstantiationStrategy strategy;
    
                public GeneratedConstructorImpl(Constructor<?> constructor) {
                    this.constructor = constructor;
                    this.strategy = createUsingConstructor(constructor);
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            Constructor<?> constructor = generatedClass.getDeclaredConstructors()[0];
    
            assertThat(constructor.getTypeParameters().length, equalTo(3));
    
            assertThat(constructor.getGenericParameterTypes().length, equalTo(12));
    
            // Callable
            Type paramType = constructor.getGenericParameterTypes()[0];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Constructor<ArrayList> constructor = ArrayList.class.getConstructor();
        assertEquals(
            TypeToken.of(ArrayList.class),
            TypeToken.of(ArrayList.class).constructor(constructor).getOwnerType());
        assertEquals(
            new TypeToken<ArrayList<String>>() {},
            new TypeToken<ArrayList<String>>() {}.constructor(constructor).getOwnerType());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                return constructor.getGenericParameterTypes();
            }
    
            private Member getFactory() {
                return constructor;
            }
    
            @Override
            protected String getFactoryDisplayName() {
                return String.format("%s constructor", format(getFactory().getDeclaringClass()));
            }
    
            @Override
            protected Object invokeMethod(Object[] params) {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Futures.java

       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}) and calling the constructor via
       * reflection. If the exception did not already have a cause, one is set by calling {@link
       * Throwable#initCause(Throwable)} on it. If no such constructor exists, an {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 64.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
      // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the
      // 'inputFuture' field is read and where we will have to consider visibility of the write
      // operation in the constructor.
      //
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeToken.java

        };
      }
    
      /**
       * Returns the {@link Invokable} for {@code constructor}, which must be a member of {@code T}.
       *
       * @since 14.0
       */
      public final Invokable<T, T> constructor(Constructor<?> constructor) {
        checkArgument(
            constructor.getDeclaringClass() == getRawType(),
            "%s not declared by %s",
            constructor,
            getRawType());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeToken.java

        };
      }
    
      /**
       * Returns the {@link Invokable} for {@code constructor}, which must be a member of {@code T}.
       *
       * @since 14.0
       */
      public final Invokable<T, T> constructor(Constructor<?> constructor) {
        checkArgument(
            constructor.getDeclaringClass() == getRawType(),
            "%s not declared by %s",
            constructor,
            getRawType());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    // output as a key/value string pair.
    //
    // Don't inherit from TestProperty as its destructor is not virtual.
    class TestProperty {
     public:
      // C'tor.  TestProperty does NOT have a default constructor.
      // Always use this constructor (with parameters) to create a
      // TestProperty object.
      TestProperty(const std::string& a_key, const std::string& a_value) :
        key_(a_key), value_(a_value) {
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
Back to top