Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 332 for CONSTRUCTOR (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // If we are at a super-type constructor call, adjust the resolution expression so that we
            // get the constructor instead of the class.
            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
            // We want to resolve to the secondary constructor in A. Therefore, we check that the caret is at a supertype
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

            return doCreate(name, type, constructorArgs, Actions.doNothing());
        }
    
        /**
         * @param constructorArgs null == do not invoke constructor, empty == invoke constructor with no args, non-empty = invoke constructor with args
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

     *
     * Limitations:
     * - supports Java byte code only, not Kotlin
     * - does not support nested Java arrays as method parameters
     * - does not support generics with multiple bounds
     */
    class ApiTypeProvider internal constructor(
        private val asmLevel: Int,
        private val incubatingAnnotationTypeDescriptor: String,
        private val repository: ClassBytesRepository,
        parameterNamesSupplier: ParameterNamesSupplier
    ) : Closeable {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

                        .assertStdout(not(anyOf(containsString("before"), containsString("after"), containsString("constructor"))))
                        .assertStderr(not(anyOf(containsString("before"), containsString("after"), containsString("constructor"))))
            } else {
                outputLifecycle
                        .assertTestCaseStdout("m1", equalTo("m1 out\n"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Request.kt

        /** A mutable map of tags, or an immutable empty map if we don't have any. */
        internal var tags = mapOf<KClass<*>, Any>()
    
        constructor() {
          this.method = "GET"
          this.headers = Headers.Builder()
        }
    
        internal constructor(request: Request) {
          this.url = request.url
          this.method = request.method
          this.body = request.body
          this.tags =
            when {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            }
    
            CodeBlock maxLocalsVar = CodeBlock.of("maxLocals");
            code.addStatement("int $L = readMethodNode.get().maxLocals", maxLocalsVar);
    
            // Store the constructor arguments in local variables, so that we can duplicate them for both the constructor and the interceptor:
            Type[] params = Type.getArgumentTypes(standardCallableDescriptor(callable));
            for (int i = params.length - 1; i >= 0; i--) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. src/cmd/doc/pkg.go

    				for _, v := range typ.Vars {
    					if decl := pkg.oneLineNode(v.Decl); decl != "" {
    						pkg.Printf(indent+"%s\n", decl)
    					}
    				}
    				for _, constructor := range typ.Funcs {
    					if isExported(constructor.Name) {
    						pkg.Printf(indent+"%s\n", pkg.oneLineNode(constructor.Decl))
    					}
    				}
    			}
    		}
    	}
    }
    
    // bugs prints the BUGS information for the package.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/model/ObjectFactory.java

    import java.util.Map;
    import java.util.Set;
    
    /**
     * A factory for creating various kinds of model objects.
     * <p>
     * An instance of the factory can be injected into a task, plugin or other object by annotating a public constructor or property getter method with {@code javax.inject.Inject}.
     * It is also available via {@link org.gradle.api.Project#getObjects()}.
     *
     * @since 4.0
     */
    @ServiceScope({Scope.Global.class, Scope.Project.class})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. pkg/kube/multicluster/secretcontroller.go

    // If the cluster is removed, the T.Close() method will be called.
    // Constructors MUST not do blocking IO; they will block other operations.
    // During a cluster update, a new component is constructed before the old one is removed for seamless migration.
    func BuildMultiClusterComponent[T ComponentConstraint](c ComponentBuilder, constructor func(cluster *Cluster) T) *Component[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

            skipped(":c:${language.compileTaskName}")
        }
    
        // Note: In Groovy the generated constructor is not the same anymore as the empty one (it's annotated now)
        def "doesn't recompile when empty initializer, static initializer or constructor is added"() {
            given:
            buildFile << """
                project(':b') {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
Back to top