- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for instantiated (0.1 sec)
-
architecture/standards/0006-use-of-provider-apis-in-gradle.md
Note that when adding a lazy property to an existing class, you need to check if instances of the class are instantiated via ObjectFactory. Most classes are instantiated this way, but it's possible that a class without any lazy properties was never updated to use it. A tell-tale sign that an object is not instantiated via the ObjectFactory are direct calls to the constructor with new. ### Existing properties in existing classes
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 20:00:57 UTC 2024 - 10K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java
import com.google.inject.ScopeAnnotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * * @since 3.2.0 */ @Target({TYPE}) @Retention(RUNTIME) @ScopeAnnotation
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * <p> * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation. * * @since 4.0.0 */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:14:46 UTC 2024 - 1.5K bytes - Viewed (0) -
architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md
Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sun Mar 10 20:38:06 UTC 2024 - 1.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java
import com.google.inject.ScopeAnnotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo * execution completes. * * @since 3.1.2 */ @Target({TYPE}) @Retention(RUNTIME) @ScopeAnnotation
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
import org.gradle.api.tasks.Internal import org.gradle.work.DisableCachingByDefault import java.io.File import kotlin.io.path.invariantSeparatorsPathString @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly") abstract class SubprojectsInfo : DefaultTask() { private val rootPath = project.layout.projectDirectory.asFile.toPath() private
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
import junit.framework.AssertionFailedError; import org.checkerframework.checker.nullness.qual.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
@Override void render(File htmlReportFile, RichReportData data) { super.render(htmlReportFile, enrichReport(data)) } /** * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a * normal property on the renderer instance and just set the location of the API file in it. *
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Feb 07 20:38:43 UTC 2023 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
import junit.framework.AssertionFailedError; import org.checkerframework.checker.nullness.qual.Nullable; /** * A helper for concurrency testing. One or more {@code TestThread} instances are instantiated in a * test with reference to the same "lock-like object", and then their interactions with that object * are choreographed via the various methods on this class. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} /** * Instantiates {@code cls} by invoking one of its non-private constructors or non-private static * factory methods with the parameters automatically provided using dummy values. * * @return The instantiated instance, or {@code null} if the class has no non-private constructor * or factory method to be constructed. */ <T> @Nullable T instantiate(Class<T> cls)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0)