Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 352 for CONSTRUCTOR (0.28 sec)

  1. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerialization.java

                try {
                    Constructor<Throwable> constructor;
                    if (message == null && cause == null) {
                        constructor = (Constructor<Throwable>) typeToken.getRawType().getDeclaredConstructor();
                        return constructor.newInstance();
                    } else if (message == null) {
                        constructor = (Constructor<Throwable>) typeToken.getRawType()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            factories.add(factory);
          }
        }
        if (!Modifier.isAbstract(type.getRawType().getModifiers())) {
          for (Constructor<?> constructor : type.getRawType().getDeclaredConstructors()) {
            Invokable<T, T> invokable = type.constructor(constructor);
            if (!invokable.isPrivate() && !invokable.isSynthetic()) {
              factories.add(invokable);
            }
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    ====
    
    == Constructor injection
    
    There are 2 ways that an object can receive the services that it needs. The first option is to add the service as a parameter of the class constructor.
    The constructor must be annotated with the `javax.inject.Inject` annotation.
    Gradle uses the declared type of each constructor parameter to determine the services that the object requires.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/compilation/classKinds.ir.txt

              ENUM_CONSTRUCTOR_CALL 'private constructor <init> () [primary] declared in <root>.Direction'
          ENUM_ENTRY name:SOUTH
            init: EXPRESSION_BODY
              ENUM_CONSTRUCTOR_CALL 'private constructor <init> () [primary] declared in <root>.Direction'
          ENUM_ENTRY name:WEST
            init: EXPRESSION_BODY
              ENUM_CONSTRUCTOR_CALL 'private constructor <init> () [primary] declared in <root>.Direction'
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Apr 04 09:35:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testConstructors(Class<?> c, Visibility minimalVisibility) {
        for (Constructor<?> constructor : c.getDeclaredConstructors()) {
          if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) {
            testConstructor(constructor);
          }
        }
      }
    
      /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */
      public void testAllPublicConstructors(Class<?> c) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

          return %arg0
        }
        ```
      }];
    
      let constructor = "TFDevice::CreateResourceOpLiftingPass()";
    }
    
    def ResourceOpLiftingForMainFunctionPass :
        Pass<"tf-resource-op-lifting-for-main-function", "ModuleOp"> {
      let summary = "Lifting resource operations out of control flow statements "
        "for the main function";
      let constructor = "TFDevice::CreateResourceOpLiftingForMainFunctionPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

        }
    
        def "can construct a custom task with constructor arguments"() {
            given:
            buildFile << CUSTOM_TASK_WITH_CONSTRUCTOR_ARGS
            buildFile << "tasks.create('myTask', CustomTask, 'hello', 42)"
    
            when:
            run 'myTask'
    
            then:
            outputContains("hello 42")
        }
    
        def "can construct a custom task with constructor arguments as #description via Map"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGLoggingOutputCaptureIntegrationTest.groovy

                public class FooTest {
                    static { System.out.println("static out"); System.err.println("static err"); }
    
                    public FooTest() {
                        System.out.println("constructor out"); System.err.println("constructor err");
                    }
    
                    @BeforeClass public static void beforeClass() {
                        System.out.println("beforeClass out"); System.err.println("beforeClass err");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top