Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 229 for isSetter (0.56 sec)

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

                            backingField?.findAnnotationTypeRef(annotationEntry)
                                ?: getter?.findAnnotationTypeRef(annotationEntry)
                                ?: setter?.findAnnotationTypeRef(annotationEntry)
                        }
                    } else null
                }
                else -> null
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/net/http/pattern.go

    		}
    	}
    	return p, nil
    }
    
    func isValidWildcardName(s string) bool {
    	if s == "" {
    		return false
    	}
    	// Valid Go identifier.
    	for i, c := range s {
    		if !unicode.IsLetter(c) && c != '_' && (i == 0 || !unicode.IsDigit(c)) {
    			return false
    		}
    	}
    	return true
    }
    
    func pathUnescape(path string) string {
    	u, err := url.PathUnescape(path)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    [[sec:declaring_task_option]]
    === Step 1. Declare a command-line option
    
    To expose a new command line option for a task property, annotate the corresponding setter method of a property with link:{javadocPath}/org/gradle/api/tasks/options/Option.html[Option]:
    
    ```
    @Option(option = "flag", description = "Sets the flag")
    ```
    
    An option requires a mandatory identifier.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Feb 25 15:21:05 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        session.jvmTypeMapper.mapType(this, mode, signatureWriter) {
            val containingFile = useSitePosition.containingKtFile
            // parameters for default setters does not have kotlin origin, but setter has
                ?: (useSitePosition as? KtLightParameter)?.parent?.parent?.containingKtFile
                ?: return@mapType null
            val correspondingImport = containingFile.findImportByAlias(it) ?: return@mapType null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/test/api_meta_meta_test.go

    			Controller:         references[i].Controller,
    			BlockOwnerDeletion: references[i].BlockOwnerDeletion,
    		})
    	}
    	if len(references) == 0 {
    		// This is necessary for the test to pass because the setter will make a
    		// non-nil slice.
    		myAPIObject2.ObjectMeta.OwnerReferences = make([]metav1.OwnerReference, 0)
    	}
    	return myAPIObject2, metaOwnerReferences
    }
    
    func testGetOwnerReferences(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 10:11:56 UTC 2022
    - 12.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

    import org.gradle.model.Managed
    
    @Managed
    interface Managed${typeName} {
        ${typeName} get${typeName}()`
        void set${typeName}($typeName arg)
    }
    """)
        }
    
        def "must have a setter - #managedType.simpleName"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            then:
            obj.thing == 12
            obj.getThing() == 12
            obj.getProperty("thing") == 12
        }
    
        def "can optionally set injected service using a service setter method"() {
            given:
            def services = defaultServices()
    
            when:
            def obj = create(BeanWithMutableServices, services)
            obj.thing = 12
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

                return newValueParameter.orElseThrow(() -> new IllegalArgumentException("a setter interceptor must accept a parameter")).getParameterType();
            } else {
                throw new IllegalArgumentException("expected a property interception request, got " + request);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. src/reflect/type.go

    	m sync.Map
    }
    
    type structTypeUncommon struct {
    	structType
    	u uncommonType
    }
    
    // isLetter reports whether a given 'rune' is classified as a Letter.
    func isLetter(ch rune) bool {
    	return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= utf8.RuneSelf && unicode.IsLetter(ch)
    }
    
    // isValidFieldName checks if a string is a valid (struct) field name or not.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  10. 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)
Back to top