Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 765 for CONSTRUCTOR (0.21 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/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramSource.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.execution
    
    
    data class ProgramSource internal constructor(val path: String, val contents: ProgramText) {
    
        constructor(path: String, contents: String) : this(path, text(contents))
    
        val text: String
            get() = contents.text
    
        fun map(transform: (ProgramText) -> ProgramText) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

        protected InstantiationStrategy createUsingConstructor(Constructor<?> constructor) {
            return new InvokeConstructorStrategy(constructor, getRoleHandler());
        }
    
        @Override
        protected InstantiationStrategy createForSerialization(Class<?> generatedType, Class<?> baseClass) {
            Constructor<?> constructor;
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionLocalClosureMutating.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> () returnType:kotlin.Unit
            EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jan 30 11:41:26 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractionContext.java

        }
    
        @Override
        public void add(Method method, String problem) {
            add(method, null, problem);
        }
    
        @Override
        public void add(Constructor<?> constructor, String problem) {
            problems.add(constructor, problem);
        }
    
        public String getDescription() {
            return description == null ? type.toString() : (description + " (" + type + ")");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractConfigurationMetadata.java

                this.configDependencies = ImmutableList.copyOf(dependencies);
            }
        }
    
        public void setConfigDependenciesFactory(Factory<List<ModuleDependencyMetadata>> dependenciesFactory) {
            synchronized (lock) {
                assert this.configDependencies == null; // Can only set once: should really be part of the constructor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/validation/UriType.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/IgnoreJRERequirement.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.base;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 11 14:30:06 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/DeserializationInstantiator.java

    /**
     * Creates instance of objects in preparation for deserialization of their state.
     */
    public interface DeserializationInstantiator {
        /**
         * Creates an instance of the given type without invoking its constructor. Invokes the constructor of the given base class.
         *
         * @throws ObjectInstantiationException On failure to create the new instance.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. mockwebserver-junit5/README.md

        ...
      }
    }
    ```
    
    Alternately you may add the [MockWebServer] as a constructor parameter:
    
    ```
    class MyTest {
      private final MockWebServer server;
    
      MyTest(MockWebServer server) {
        this.server = server;
      }
    
      @Test
      void test() {
        ...
      }
    }
    ```
    
    Constructor injection is particularly concise in Kotlin:
    
    ```
    class MyTest(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top