Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for isGetter (0.14 sec)

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

                return when {
                    firSymbol.isGetter -> buildGetterSymbol(firSymbol)
                    else -> buildSetterSymbol(firSymbol)
                }
            }
    
            fun buildGetterSymbol(firSymbol: FirPropertyAccessorSymbol): KaFirPropertyGetterSymbol {
                checkRequirementForBuildingSymbol<KaFirPropertyGetterSymbol>(firSymbol, firSymbol.isGetter)
                return symbolsCache.cache(firSymbol) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

     */
    private fun doesPropertyAccessorUseBody(propertyAccessor: KtPropertyAccessor, body: PsiElement): Boolean {
        return propertyAccessor.isSetter || (propertyAccessor.isGetter && body !is KtBlockExpression)
    }
    
    /**
     * Returns whether the function uses its body as an expression (i.e., the function uses the result value of the expression) or not.
     *
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                this.next = next;
            }
    
            @Override
            public void invoke(MethodInvocation method) throws Throwable {
                if (method.isGetter()) {
                    if (properties.containsKey(method.getName())) {
                        method.setResult(properties.get(method.getName()));
                        return;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                error(methodShouldNotBeAnnotatedConfig { type('MyTask').kind('setter').method('setWriteOnly').annotation('Input') }, 'validation_problems', 'ignored_annotations_on_method'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

                            requests.add(groovyPropertyRequest);
                            requests.add(jvmGetterRequest);
                            break;
                        case SETTER:
                            CallInterceptionRequest jvmSetterRequest = createJvmSetterInterceptionRequest(accessorSpec, method);
                            requests.add(jvmSetterRequest);
                            break;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    )
    
                return kotlinType.toKtType(analysisContext)
            }
    
            // Manually handle custom setter parameter
            if (declaration is KtParameter) {
                val parameterList = declaration.parent as? KtParameterList
                if (parameterList?.parameters?.singleOrNull() == declaration) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                                }
                            } else {
                                // Coerce the value to the type accepted by the property setter and invoke the setter directly
                                Class setterType = metaBeanProperty.getSetter().getParameterTypes()[0].getTheClass();
                                value = propertySetTransformer.transformValue(setterType, value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  10. src/text/template/funcs.go

    func goodName(name string) bool {
    	if name == "" {
    		return false
    	}
    	for i, r := range name {
    		switch {
    		case r == '_':
    		case i == 0 && !unicode.IsLetter(r):
    			return false
    		case !unicode.IsLetter(r) && !unicode.IsDigit(r):
    			return false
    		}
    	}
    	return true
    }
    
    // findFunction looks for a function in the template, and global map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top