Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for getPackages (0.09 seconds)

  1. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

        assertEquals("okhttp3", okHttpModule.getName());
        assertTrue(okHttpModule.getPackages().contains("okhttp3"));
    
        Module loggingInterceptorModule = HttpLoggingInterceptor.class.getModule();
        assertEquals("okhttp3.logging", loggingInterceptorModule.getName());
        assertTrue(loggingInterceptorModule.getPackages().contains("okhttp3.logging"));
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/Reflection.java

     *
     * @since 12.0
     */
    public final class Reflection {
    
      /**
       * Returns the package name of {@code clazz} according to the Java Language Specification (section
       * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without
       * attempting to define the {@link Package} and hence load files.
       */
      public static String getPackageName(Class<?> clazz) {
        return getPackageName(clazz.getName());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                }
            }
    
            private boolean isQualifiedForInterpolation(Class<?> cls) {
                return !cls.getPackage().getName().startsWith("java")
                        && !cls.getPackage().getName().startsWith("sun.nio.fs")
                        // org.apache.maven.api.model.InputLocation can be self-referencing
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

    /**
     */
    @Deprecated
    public abstract class AbstractProjectInheritanceTestCase extends AbstractMavenProjectTestCase {
        protected String getTestSeries() {
            String className = getClass().getPackage().getName();
    
            return className.substring(className.lastIndexOf('.') + 1);
        }
    
        protected File projectFile(String name) {
            return projectFile("maven", name);
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

            assertEquals("Type parameter should be MESSAGES", "MESSAGES", typeParameters[0].getName());
        }
    
        @Test
        public void test_packageStructure() {
            final Package pkg = FessActionValidator.class.getPackage();
            assertNotNull(pkg, "Package should not be null");
            assertEquals("Should be in correct package", "org.codelibs.fess.validation", pkg.getName());
        }
    
        @Test
        public void test_isPublicClass() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            }
        }
    
        @Test
        public void test_packageStructure() {
            // Verify the class is in the expected package structure
            final Package pkg = FessWebResourceRoot.class.getPackage();
            assertNotNull(pkg, "Package should not be null");
            assertEquals("Should be in correct package", "org.codelibs.fess.tomcat.webresources", pkg.getName());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    options.put("xml:4.0.0", "xml:4.0.0");
    
                    String modelId = "org.apache.maven:maven-model-builder:"
                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource();
                    inputSource.setModelId(modelId);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        @Test
        public void test_package_structure() {
            assertEquals("Should be in timer package", "org.codelibs.fess.timer", SystemMonitorTarget.class.getPackage().getName());
        }
    
        @Test
        public void test_class_is_public() {
            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getModifiers()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            }
        }
    
        @Test
        public void test_package_structure() {
            assertEquals("Should be in timer package", "org.codelibs.fess.timer", HotThreadMonitorTarget.class.getPackage().getName());
        }
    
        @Test
        public void test_class_is_public() {
            assertTrue("Class should be public", java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getModifiers()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

        // without resorting to even crazier hacks to reset static final boolean fields.
        System.setProperty("guava.concurrent.generate_cancellation_cause", "true");
        String concurrentPackage = SettableFuture.class.getPackage().getName();
        classReloader =
            new URLClassLoader(ClassPathUtil.getClassPathUrls()) {
              @GuardedBy("loadedClasses")
              final Map<String, Class<?>> loadedClasses = new HashMap<>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top