Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 99 for superclasses (0.08 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

      /**
       * Get the full set of requirements for a tester class.
       *
       * @param testerClass a tester class
       * @return all the constraints implicitly or explicitly required by the class or any of its
       *     superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  2. 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)
  3. 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&lt;?&gt; someClass = ...;
     * for (Class&lt;?&gt; 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top