- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 184 for setters (0.15 sec)
-
testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java
return new Accessors(owningClass, propertyName, getters, superclassSetters); } } return null; } private Accessors(JavaClass owningClass, String propertyName, Set<JavaMethod> getters, Set<JavaMethod> setters) { this.getters = getters; this.setters = setters; this.owningClass = owningClass;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxy.java
setters.put(property, method.getParameterTypes()[0]); } else { throwParameterValidationError(clazz, String.format("Method %s is neither a setter nor a getter.", method.getName())); } } if (setters.size() != getters.size()) { throwParameterValidationError(clazz, "It contains a different number of getters and setters."); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 10:27:26 UTC 2023 - 7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutablePropertyDetails.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/AbstractClassBackedManagedTypeIntegrationTest.groovy
apply type: RulePlugin ''' then: fails 'tasks' and: failure.assertHasCause("Calling setters of a managed type on itself is not allowed") } def "calling setters of super class from non-abstract getters is not allowed"() { when: defineCallsSetterInNonAbstractGetterClass() buildFile << ''' @Managed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy
when: ToolingParameterProxy.validateParameter(InvalidParameter2) then: IllegalArgumentException e = thrown() e.message == "org.gradle.tooling.internal.consumer.connection.ToolingParameterProxyTest\$InvalidParameter2 is not a valid parameter type. Method setValue is neither a setter nor a getter." } def "returns parameter invalid when setter and getter have different types"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.2K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtFunctionLikeSignature.kt
import org.jetbrains.kotlin.analysis.api.symbols.KaValueParameterSymbol import org.jetbrains.kotlin.analysis.api.types.KaSubstitutor /** * A signature of a function-like symbol. This includes functions, getters, setters, lambdas, etc. */ public abstract class KaFunctionLikeSignature<out S : KaFunctionLikeSymbol> : KaCallableSignature<S>() { /** * The use-site-substituted value parameters. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1010 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/archives/kotlin/build.gradle.kts
// tag::tar[] tasks.register<Tar>("tar") { from("src/dist") into("libs") { from(configurations.runtimeClasspath) } } // end::tar[] // TODO why can't we use properties instead of setters here? // when using them, we get "Cannot access 'preserveFileTimestamps': it is private in 'AbstractArchiveTask'" // tag::reproducible[] tasks.withType<AbstractArchiveTask>().configureEach { isPreserveFileTimestamps = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/UnmanagedPropertyMissingSetterException.java
} private static String getMessage(String propertyName) { return String.format( "unmanaged property '%s' cannot be read only, unmanaged properties must have setters", propertyName); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:36 UTC 2024 - 1.1K bytes - Viewed (0) -
src/math/big/doc.go
to the float64 argument f. More flexibility is provided with explicit setters, for instance: var z1 Int z1.SetUint64(123) // z1 := 123 z2 := new(Rat).SetFloat64(1.25) // z2 := 5/4 z3 := new(Float).SetInt(z1) // z3 := 123.0 Setters, numeric operations and predicates are represented as methods of the form: func (z *T) SetV(v V) *T // z = v
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 3.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/tasks/OutputDirectory.java
import java.lang.annotation.*; /** * <p>Marks a property as specifying an output directory for a task.</p> * * <p>This annotation should be attached to the getter method in Java or the property in Groovy. * Annotations on setters or just the field in Java are ignored.</p> * * <p>The directory will be created before the task is executed if it does not exist already.</p> *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 12:53:53 UTC 2023 - 1.3K bytes - Viewed (0)