Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for isGetter (0.36 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. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            when:
            def methods = impl.class.declaredMethods
            def getGetter = methods.find { it.name == 'getFlag' }
            def isGetter = methods.find { it.name == 'isFlag' }
    
            then:
            (getGetter != null) == expectGetGetter
            (isGetter != null) == expectIsGetter
    
            where:
            type           | expectGetGetter | expectIsGetter
            BooleanGetter1 | true            | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java

        }
    
        @Override
        public Object invokeMissingProperty(Object instance, String propertyName, Object optionalValue, boolean isGetter) {
            return adaptee.invokeMissingProperty(instance, propertyName, optionalValue, isGetter);
        }
    
        @Override
        public Object invokeConstructor(Object[] arguments) {
            return adaptee.invokeConstructor(arguments);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            PropertyAccessorType.fromName('isidore') == PropertyAccessorType.IS_GETTER
            PropertyAccessorType.of(DeviantBean.class.getMethod("isidore")) == PropertyAccessorType.IS_GETTER
            PropertyAccessorType.fromName('settings') == PropertyAccessorType.SETTER
            PropertyAccessorType.of(DeviantBean.class.getMethod("settings", String)) == PropertyAccessorType.SETTER
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

    import static org.gradle.internal.reflect.PropertyAccessorType.GET_GETTER;
    import static org.gradle.internal.reflect.PropertyAccessorType.IS_GETTER;
    import static org.gradle.internal.reflect.PropertyAccessorType.SETTER;
    import static org.gradle.internal.reflect.PropertyAccessorType.hasGetter;
    import static org.gradle.internal.reflect.PropertyAccessorType.hasSetter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  8. src/unicode/letter_test.go

    func TestIsLetter(t *testing.T) {
    	for _, r := range upperTest {
    		if !IsLetter(r) {
    			t.Errorf("IsLetter(U+%04X) = false, want true", r)
    		}
    	}
    	for _, r := range letterTest {
    		if !IsLetter(r) {
    			t.Errorf("IsLetter(U+%04X) = false, want true", r)
    		}
    	}
    	for _, r := range notletterTest {
    		if IsLetter(r) {
    			t.Errorf("IsLetter(U+%04X) = true, want false", r)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 09 01:46:03 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  9. pkg/kubelet/nodestatus/setters.go

    	// per image stored in the node status.
    	MaxNamesPerImageInNodeStatus = 5
    )
    
    // Setter modifies the node in-place, and returns an error if the modification failed.
    // Setters may partially mutate the node before returning an error.
    type Setter func(ctx context.Context, node *v1.Node) error
    
    // NodeAddress returns a Setter that updates address-related information on the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. src/strings/example_test.go

    		return !unicode.IsLetter(r) && !unicode.IsNumber(r)
    	}))
    	// Output: Hello, Gophers
    }
    
    func ExampleTrimLeft() {
    	fmt.Print(strings.TrimLeft("¡¡¡Hello, Gophers!!!", "!¡"))
    	// Output: Hello, Gophers!!!
    }
    
    func ExampleTrimLeftFunc() {
    	fmt.Print(strings.TrimLeftFunc("¡¡¡Hello, Gophers!!!", func(r rune) bool {
    		return !unicode.IsLetter(r) && !unicode.IsNumber(r)
    	}))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top