Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 201 for isGetter (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                            }
                        }
                        fir.setter?.let { setter ->
                            methods.singleOrNull { it.name.startsWith("set") }?.let {
                                bindings.put(METHOD_FOR_FIR_FUNCTION, setter, Method(it.name, getAsmMethodSignatureWithCorrection(it)))
                            }
                        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

                result.converted(((TextResource) notation).asFile());
            }
        }
    
        private static boolean isWindowsRootDirectory(String scheme) {
            return scheme.length() == 2 && Character.isLetter(scheme.charAt(0)) && scheme.charAt(1) == ':' && OperatingSystem.current().isWindows();
        }
    
        private static void convertToUrl(String notationString, NotationConvertResult<? super Object> result) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. src/go/token/token.go

    // is not a digit. Keywords are not identifiers.
    func IsIdentifier(name string) bool {
    	if name == "" || IsKeyword(name) {
    		return false
    	}
    	for i, c := range name {
    		if !unicode.IsLetter(c) && c != '_' && (i == 0 || !unicode.IsDigit(c)) {
    			return false
    		}
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top