Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for getters (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core-api/src/main/java/org/gradle/api/Task.java

     *
     * <ul>
     *
     * <li>The {@code Task} object itself. This includes any property getters and setters declared by the {@code Task}
     * implementation class.  The properties of this scope are readable or writable based on the presence of the
     * corresponding getter and setter methods.</li>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                Method getter = JavaPropertyReflectionUtil.findGetterMethod(sourceType, propertyName);
                if (getter != null && SupportsConvention.class.isAssignableFrom(getter.getReturnType())) {
                    SupportsConvention target;
                    try {
                        target = Cast.uncheckedNonnullCast(getter.invoke(_source));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

            graph_func.getLoc(),
            graph_func->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName())
                .getValue(),
            ftype);
    
        func->setAttrs(graph_func->getAttrs());
    
        llvm::SmallVector<Type> arg_types;
        llvm::SmallVector<Type> res_types;
        llvm::SmallVector<DictionaryAttr> arg_attrs;
        llvm::SmallVector<DictionaryAttr> res_attrs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                        }
                        fir.getter?.let { getter ->
                            methods.singleOrNull { it.returnType != PsiTypes.voidType() }?.let {
                                bindings.put(METHOD_FOR_FIR_FUNCTION, getter, Method(it.name, getAsmMethodSignatureWithCorrection(it)))
                            }
                        }
                        fir.setter?.let { setter ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

             * (via generateReflectiveAccessForGetter) and it is called for the private access member lowered to the getter/setter call.
             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
             * getter/setter) then this method is not used at all. Instead
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top