Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for getters (0.13 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

                // Do we have an 'is'-getter as well as a 'get'-getter?
                if (previouslySeenBuilder != null) {
                    // It is okay to have redundant generated 'is'-getters
                    if (generatedMethodDetector.test(metadataBuilder.getter)) {
                        continue;
                    }
                    // The 'is'-getter is ignored, we can skip it in favor of the 'get'-getter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

                )
            }
        }
    
        /**
         * This class recursively visits all calls of functions and getters, and if the function or the getter used for a call has
         * an annotation whose FqName is [annotationFqName], it runs [handleFunctionWithAnnotation] for the function or the getter.
         */
        private class CheckCallsWithAnnotationVisitor(
            private val annotationFqName: String,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    contextualLabel == 'Type \'MyTask\' property \'badTime\' is private and annotated with @Input'
                    details == 'Annotations on private getters are ignored'
                    solutions == [
                        'Make the getter public',
                        'Annotate the public version of the getter',
                    ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc

    You can declare a read-only managed nested property by adding an abstract getter method for the property to a type annotated with link:{javadocPath}/org/gradle/api/tasks/Nested.html[`@Nested`].
    The property should not have any setter methods.
    Gradle provides the implementation for the getter method and creates a value for the property.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/initialization/MixInLegacyTypesClassLoader.java

            private static final int PUBLIC_STATIC_FINAL = Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC | Opcodes.ACC_FINAL;
            private String className;
            /**
             * We only add getters for `public static final String` constants. This is because in
             * the converted classes only contain these kinds of constants.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

        return callee !is KtReferenceExpression ||
                analyze(callee) {
                    isSimpleVariableAccessCall(callee)
                }
    }
    
    /**
     * The body of setters are always used. The body of getters are only used if they are expression bodies.
     */
    private fun doesPropertyAccessorUseBody(propertyAccessor: KtPropertyAccessor, body: PsiElement): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/flags.h

      bool enable_crash_reproducer;
    };
    
    // Return a pointer to the DumpGraphFlags struct;
    // repeated calls return the same pointer.
    // This should be called only after Flags::Parse() has returned.
    
    // Getters for flags structs defined above.  The first call to any of these
    // parses TF_XLA_FLAGS for all of them.  Those functions which return a pointer
    // always return the same pointer.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/project/DeclarativeDSLCustomDependenciesExtensionsSpec.groovy

            succeeds("build")
            file("build/libs/example.jar").exists()
        }
    
        def 'can configure an extension using DependencyCollector in declarative DSL that uses Kotlin properties for the getters'() {
            given: "a plugin that creates a custom extension using a DependencyCollector"
            file("build-logic/src/main/kotlin/com/example/restricted/DependenciesExtension.kt") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            abstract int getNumber()
            abstract void setNumber(int value)
        }
    
        def "rule class can have abstract getter and setter"() {
            expect:
            extract(AbstractPropertyRules).empty
        }
    
        def "can create instance of rule class with abstract getter and setter"() {
            when:
            def schema = extractor.extract(AbstractPropertyRules)
            def instance = schema.factory.create()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ** For non-configurable properties, expose an link:{javadocPath}/org/gradle/api/provider/Provider.html[Provider] directly through a single getter.
    
    2. Avoid simplifying calls like `obj.getProperty().get()` and `obj.getProperty().set(T)` in your code by introducing additional getters and setters.
    
    3. When migrating your plugin to use providers, follow these guidelines:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top