- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 75 for superclasses (0.07 seconds)
-
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* "inherited" from superclasses of the same package. */ public void testAllPublicStaticMethods(Class<?> c) { testStaticMethods(c, Visibility.PUBLIC); } /** * Runs {@link #testMethod} on every instance method of the class of {@code instance} with at * least {@code minimalVisibility}, including those inherited from superclasses of the same * package. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
import org.codelibs.core.exception.ClUnsupportedOperationException; import org.codelibs.core.message.MessageFormatter; /** * An {@link Iterator} that iterates through the inheritance hierarchy of a class towards its superclasses. * <p> * Usage example: * </p> * * <pre> * import static org.codelibs.core.lang.ClassIterator.*; * * Class<?> someClass = ...; * for (Class<?> clazz : iterable(someClass)) {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.9K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
/** * Flattens a class's type hierarchy into a set of {@code Class} objects including all * superclasses (transitively) and all interfaces implemented by these superclasses. */ @VisibleForTesting static ImmutableSet<Class<?>> flattenHierarchy(Class<?> concreteClass) { return flattenHierarchyCache.getUnchecked(concreteClass); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* "inherited" from superclasses of the same package. */ public void testAllPublicStaticMethods(Class<?> c) { testStaticMethods(c, Visibility.PUBLIC); } /** * Runs {@link #testMethod} on every instance method of the class of {@code instance} with at * least {@code minimalVisibility}, including those inherited from superclasses of the same * package. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
} catch (NoSuchMethodException e) { // If the class does not have the method, then neither its superclass // nor any of its interfaces has it so quickly return null. return null; } } // try the superclass Class<?> superclazz = clazz.getSuperclass(); if (superclazz != null) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests that all {@code public static} methods "inherited" from superclasses are "overridden" in * each immutable-collection class. This ensures, for example, that a call written "{@code * ImmutableSortedSet.copyOf()}" cannot secretly be a call to {@code ImmutableSet.copyOf()}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} /** * Returns an object responsible for performing sanity tests against the return values of all * public static methods declared by {@code cls}, excluding superclasses. */ public FactoryMethodReturnValueTester forAllPublicStaticMethods(Class<?> cls) { ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder(); for (Method method : cls.getDeclaredMethods()) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
* replace "Strong" with "Soft" or "Weak" within the pasted text. The primary difference is that * strong entries store the key reference directly while soft and weak entries delegate to their * respective superclasses. */ /** Used for strongly-referenced keys. */ private static class StrongEntry<K, V> extends AbstractReferenceEntry<K, V> { final K key;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0)