Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ClassInfo (0.24 sec)

  1. guava-gwt/test/com/google/common/GwtTestSuite.java

     * limitations under the License.
     */
    
    package com.google.common;
    
    import com.google.common.reflect.ClassPath;
    import com.google.common.reflect.ClassPath.ClassInfo;
    import com.google.gwt.junit.client.GWTTestCase;
    import com.google.gwt.junit.tools.GWTTestSuite;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    import java.io.IOException;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 23 13:24:59 GMT 2016
    - 1.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
      }
    
      private static ClassPath.ClassInfo findClass(
          Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
        for (ClassPath.ClassInfo classInfo : classes) {
          if (classInfo.getName().equals(cls.getName())) {
            return classInfo;
          }
        }
        throw new AssertionError("failed to find " + cls);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 07 16:50:33 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
      }
    
      private static ClassPath.ClassInfo findClass(
          Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
        for (ClassPath.ClassInfo classInfo : classes) {
          if (classInfo.getName().equals(cls.getName())) {
            return classInfo;
          }
        }
        throw new AssertionError("failed to find " + cls);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/ClassPath.java

            .filter(ClassInfo.class)
            .filter(ClassInfo::isTopLevel)
            .toSet();
      }
    
      /** Returns all top level classes whose package name is {@code packageName}. */
      public ImmutableSet<ClassInfo> getTopLevelClasses(String packageName) {
        checkNotNull(packageName);
        ImmutableSet.Builder<ClassInfo> builder = ImmutableSet.builder();
        for (ClassInfo classInfo : getTopLevelClasses()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        List<Class<?>> classes = Lists.newArrayList();
        String packageName = getClass().getPackage().getName();
        for (ClassPath.ClassInfo classInfo :
            ClassPath.from(getClass().getClassLoader()).getTopLevelClasses(packageName)) {
          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        List<Class<?>> classes = Lists.newArrayList();
        String packageName = getClass().getPackage().getName();
        for (ClassPath.ClassInfo classInfo :
            ClassPath.from(getClass().getClassLoader()).getTopLevelClasses(packageName)) {
          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import static java.lang.reflect.Modifier.PUBLIC;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Optional;
    import com.google.common.reflect.ClassPath;
    import com.google.common.reflect.ClassPath.ClassInfo;
    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import static java.lang.reflect.Modifier.PUBLIC;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Optional;
    import com.google.common.reflect.ClassPath;
    import com.google.common.reflect.ClassPath.ClassInfo;
    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
     * Tests that all package-private {@code writeReplace} methods are overridden in any existing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top