- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,546 for method1 (0.31 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/properties_providers.adoc
You can declare a read-only managed nested property by adding an abstract getter method for the property to a type annotated with link:{javadocPath}/org/gradle/api/tasks/Nested.html[`@Nested`]. The property should not have any setter methods. Gradle provides the implementation for the getter method and creates a value for the property.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/BridgeMethodBinding.java
*/ package org.gradle.model.internal.manage.binding; import org.gradle.internal.reflect.PropertyAccessorType; import org.gradle.model.internal.method.WeaklyTypeReferencingMethod; /** * Method binding for bridge methods calling through to other view methods. */ public class BridgeMethodBinding extends AbstractDelegationBinding {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/InterceptScope.java
import java.util.Objects; /** * A scope for the CallInterceptor. It defines what methods/properties or constructors the given * CallInterceptor is interested in. Use static methods to obtain instances of this class. */ public abstract class InterceptScope { private enum CallType { METHOD("call method"), GET_PROPERTY("get property"), SET_PROPERTY("set property"),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 14:02:30 UTC 2024 - 5.3K bytes - Viewed (0) -
src/log/slog/doc.go
In addition to [Logger.Info], there are methods for Debug, Warn and Error levels. Besides these convenience methods for common levels, there is also a [Logger.Log] method which takes the level as an argument. Each of these methods has a corresponding top-level function that uses the default logger. The default handler formats the log record's message, time, level, and attributes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 15 14:35:48 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InterfaceBackedManagedTypeIntegrationTest.groovy
and: failure.assertHasCause """Type Person is not a valid managed type: - Property 'name' is not valid: it must have either only abstract accessor methods or only implemented accessor methods""" } def "non-mutative non-abstract methods implemented as default interface methods are not allowed"() { when: file('buildSrc/src/main/java/Rules.java') << ''' import org.gradle.api.*;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 11.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java-library/quickstart/kotlin/src/main/java/org/gradle/HttpClientWrapper.java
import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; public class HttpClientWrapper { private final HttpClient client; // private member: implementation details // HttpClient is used as a parameter of a public method // so "leaks" into the public API of this component
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/PropertyAccessorExtractionContext.java
} private Map<Class<? extends Annotation>, Annotation> collectAnnotations(Iterable<Method> methods) { Map<Class<? extends Annotation>, Annotation> annotations = new LinkedHashMap<>(); for (Method method : methods) { for (Annotation annotation : method.getDeclaredAnnotations()) { // Make sure more specific annotation doesn't get overwritten with less specific one
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.6K bytes - Viewed (0) -
src/internal/reflectlite/type.go
import ( "internal/abi" "unsafe" ) // Type is the representation of a Go type. // // Not all methods apply to all kinds of types. Restrictions, // if any, are noted in the documentation for each method. // Use the Kind method to find out the kind of type before // calling kind-specific methods. Calling a method // inappropriate to the kind of type causes a run-time panic. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentControl.java
@Nullable private static Method findAgentMethod(String agentClassName, String methodName, Class<?>... args) { Class<?> agentClass = tryLoadAgentClass(agentClassName); if (agentClass == null) { return null; } try { Method method = agentClass.getMethod(methodName, args); method.setAccessible(true); return method; } catch (NoSuchMethodException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/ProviderMigrationArchitectureTest.java
return input.getOwner().getAllMethods().stream() .filter(method -> PropertyAccessorType.fromName(method.getName()) == PropertyAccessorType.SETTER) .anyMatch(method -> PropertyAccessorType.SETTER.propertyNameFor(method.getName()).equals(propertyNameFromGetter)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.1K bytes - Viewed (0)