Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for isLetter (0.18 sec)

  1. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelRuleIntegrationTest.groovy

                    @Model
                    void createPerson(Person person) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException {
                        Method setter = person.getClass().getMethod("setName", String.class);
                        setter.invoke(person, 123);
                    }
    
                    @Mutate
                    void addDependencyOnPerson(ModelMap<Task> tasks, Person person) {
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/tutorial/groovy/groovy/build.gradle

    configurations.runtimeClasspath.each { File f -> println f }
    // end::groovyJdk[]
    
    // tag::propertyAccessors[]
    // Using a getter method
    println project.buildDir
    println getProject().getBuildDir()
    
    // Using a setter method
    project.buildDir = 'target'
    getProject().setBuildDir('target')
    // end::propertyAccessors[]
    
    // tag::methodCallWithoutParentheses[]
    test.systemProperty 'some.prop', 'value'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirPropertyDelegationMethodsReference.kt

            if (property.delegate == null) return emptyList()
            val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            val setValueSymbol = (property.setter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            return listOfNotNull(
                getValueSymbol?.fir?.buildSymbol(firSymbolBuilder),
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolProvider.kt

            }
    
            return KaFe10PsiNamedClassOrObjectSymbol(psi, analysisContext)
        }
    
        override fun getPropertyAccessorSymbol(psi: KtPropertyAccessor): KaPropertyAccessorSymbol {
            return if (psi.isGetter) {
                KaFe10PsiPropertyGetterSymbol(psi, analysisContext)
            } else {
                KaFe10PsiPropertySetterSymbol(psi, analysisContext)
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/symbols/pointers/KtPropertyAccessorSymbolPointer.kt

        @Deprecated("Consider using org.jetbrains.kotlin.analysis.api.KaSession.restoreSymbol")
        override fun restoreSymbol(analysisSession: KaSession): KaPropertySetterSymbol? {
            return restorePropertySymbol(analysisSession)?.setter
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacedAccessor.java

    import java.lang.annotation.Target;
    
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.ANNOTATION_TYPE})
    public @interface ReplacedAccessor {
    
        enum AccessorType {
            GETTER,
            SETTER
        }
    
        AccessorType value();
    
        /**
         * The name of the accessor, e.g. `getDestinationDir` or `setDestinationDir`
         */
        String name();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

                throw new UncheckedIOException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion {
                val fir = firSymbol.fir as FirSyntheticProperty
                return fir.setter?.delegate?.let { builder.functionLikeBuilder.buildFunctionSymbol(it.symbol) }
            }
    
        override val setter: KaPropertySetterSymbol?
            get() = withValidityAssertion {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtensionContainerTest.groovy

            then:
            IllegalArgumentException e = thrown()
            e.message == "There's an extension registered with name 'foo'. You should not reassign it via a property setter."
        }
    
        def "can register extensions using dynamic property setter"() {
            when:
            container.foo = extension
    
            then:
            container.findByName('foo') == extension
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/AbstractCompile.java

    import java.io.File;
    
    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.GETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacedAccessor.AccessorType.SETTER;
    import static org.gradle.internal.instrumentation.api.annotations.ReplacesEagerProperty.BinaryCompatibility.ACCESSORS_KEPT;
    
    /**
     * The base class for all JVM-based language compilation tasks.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top