- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 70 for visibility (0.05 seconds)
-
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
nullPointerTester.testConstructors(cls, visibility); } nullPointerTester.testStaticMethods(cls, visibility); if (hasInstanceMethodToTestNulls(cls, visibility)) { Object instance = instantiate(cls); if (instance != null) { nullPointerTester.testInstanceMethods(instance, visibility); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
result.timer = scheduledExecutor.schedule(fire, time, unit); delegate.addListener(fire, directExecutor()); return result; } /* * Memory visibility of these fields. There are two cases to consider. * * 1. visibility of the writes to these fields to Fire.run: * * The initial write to delegateRef is made definitely visible via the semantics of
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
private Visibility visibility = Visibility.PACKAGE; private Predicate<Class<?>> classFilter = (Class<?> cls) -> visibility.isVisible(cls.getModifiers()); /** * Restricts the sanity tests for public API only. By default, package-private API are also * covered. */ protected final void publicApiOnly() { visibility = Visibility.PUBLIC; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
private Visibility visibility = Visibility.PACKAGE; private Predicate<Class<?>> classFilter = (Class<?> cls) -> visibility.isVisible(cls.getModifiers()); /** * Restricts the sanity tests for public API only. By default, package-private API are also * covered. */ protected final void publicApiOnly() { visibility = Visibility.PUBLIC; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava/src/com/google/common/annotations/VisibleForTesting.java
* representation will be hard to change. Instead, use <a * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces * fine-grained visibility policies. * * @author Johannes Henkel */ @GwtCompatible public @interface VisibleForTesting {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
* is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either * have a public setter or be backed by an equally named field (of any visibility). * * @since 3.0 */ public interface BeanConfigurator { /** * Performs the specified bean configuration. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/annotations/VisibleForTesting.java
* representation will be hard to change. Instead, use <a * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces * fine-grained visibility policies. * * @author Johannes Henkel */ @GwtCompatible public @interface VisibleForTesting {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java
import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Meta-annotation that marks other annotations as scope annotations. * <p> * Scopes define the lifecycle and visibility of objects in the dependency injection * system. Custom scope annotations should be annotated with {@code @Scope}. * <p> * Built-in scopes include: * <ul> * <li>{@link Singleton} - One instance per container</li>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
assertEquals(6, close.writeParameterWordsWireFormat(new byte[10], 0)); } /** * The toString representation should include the class name and both * fields. This provides visibility into the debug output of the SMB * packet. */ @Test @DisplayName("happy: toString contains class info and field values") void testToStringContainsAllInfo() { int fid = 256;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
implements Supplier<T>, Serializable { private transient Object lock = new Object(); final Supplier<T> delegate; transient volatile boolean initialized; // "value" does not need to be volatile; visibility piggy-backs // on volatile read of "initialized". transient @Nullable T value; MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0)