- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 89 for isGetter (0.31 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy
} def "picks the generic object setter if the typed setter does not match the value type"() { when: def property = writeableProperty(JavaTestSubject, "myProperty", File.class) then: property.type == Object.class } def "picks the typed setter if it is the better match"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
n := field.name help := configHelp[n] var setter func() switch ptr := cfg.fieldPtr(field).(type) { case *bool: f := flag.Bool(n, *ptr, help) setter = func() { *ptr = *f } case *int: f := flag.Int(n, *ptr, help) setter = func() { *ptr = *f } case *float64: f := flag.Float64(n, *ptr, help) setter = func() { *ptr = *f } case *string: if len(field.choices) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/html.go
switch { case strings.HasPrefix(t, "<!--"): end = "-->" case strings.HasPrefix(t, "<?"): end = "?>" case strings.HasPrefix(t, "<![CDATA["): end = "]]>" case strings.HasPrefix(t, "<!") && len(t) >= 3 && isLetter(t[2]): if 'a' <= t[2] && t[2] <= 'z' { // Goldmark and the Dingus only accept <!UPPER> not <!lower>. p.corner = true } end = ">" } if end != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/JavaPropertyReflectionUtil.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy
} def "fails when abstract property has only setter"() { when: extract(TypeWithAbstractWriteOnlyProperty) then: def ex = thrown InvalidManagedTypeException ex.message == """Type ${fullyQualifiedNameOf(TypeWithAbstractWriteOnlyProperty)} is not a valid managed type: - Property 'z' is not valid: it must both have an abstract getter and a setter""" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
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) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeClassSourceGenerator.java
String propertyGetterName = implementationExtra.getMethodName(); boolean isSetter = implementation.getName().startsWith("access_set_"); CallableReturnTypeInfo returnType = callableInfo.getReturnType(); GradleLazyType upgradedPropertyType = implementationExtra.getPropertyType();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:11:23 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java
return; } String propertyName = accessorType.propertyNameFor(method); if (accessorType == PropertyAccessorType.SETTER) { validateNotAnnotated(MethodKind.SETTER, method, annotations.keySet(), validationContext); validateSetterForMutableType(method, accessorType, validationContext, propertyName); return; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 37.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
return readMethod != null; } @Override public final Method getWriteMethod() { return writeMethod; } /** * setterメソッドを設定します。 * * @param writeMethod * setterメソッド */ protected final void setWriteMethod(final Method writeMethod) { this.writeMethod = writeMethod; if (writeMethod != null) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0) -
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)