Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 2,994 for Class1 (0.04 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

            // Repeat to test caching benefits
            nameConfig.setValue("testValue2");
            optimizedHelper.setProperty(bean, "name", String.class, nameConfig);
            countConfig.setValue("456");
            optimizedHelper.setProperty(bean, "count", Integer.class, countConfig);
        }
    
        /**
         * Benchmark that tests cache benefits by repeatedly setting properties on the same class.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 07:40:49 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                if (formal == Integer.TYPE && (actual == Integer.class || actual == Short.class || actual == Byte.class)) {
                    return true;
                }
                if (formal == Long.TYPE
                        && (actual == Long.class
                                || actual == Integer.class
                                || actual == Short.class
                                || actual == Byte.class)) {
                    return true;
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

            bind(MavenProject.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MavenProject.class))
                    .in(scope);
            bind(MojoExecution.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(MojoExecution.class))
                    .in(scope);
            bind(Log.class)
                    .toProvider(MojoExecutionScope.seededKeyProvider(Log.class))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            when(lookup.lookupMap(ToolchainFactory.class)).thenReturn(factories);
            when(lookup.lookupMap(org.apache.maven.toolchain.ToolchainFactory.class))
                    .thenReturn(Map.of());
    
            toolchainManager = new ToolchainManagerFactory(lookup, logger).v3Manager();
        }
    
        @Test
        void testNoModels() {
            MavenSession session = mock(MavenSession.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    MethodMap$AmbiguousException; private static reflect.Method getMostSpecific(java.util.List, Class[]) throws MethodMap$AmbiguousException; private static int moreSpecific(Class[], Class[]); private static java.util.LinkedList getApplicables(java.util.List, Class[]); private static boolean isApplicable(reflect.Method, Class[]); private static boolean isMethodInvocationCo(Class, Class); private static boolean isStrictMethodInvoca(Class, Class); } org/codehaus/plexus/util/introspection/ReflectionValueExtra.class package...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                }
    
                private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                    if (Map.class.equals(fieldType) && "locations".equals(field.getName())) {
                        return false;
                    }
                    if (InputLocation.class.equals(fieldType)) {
                        return false;
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

    /**
     * Proto-{@link Lookup} offer ways to provide early components to invoker.
     */
    public class ProtoLookup implements Lookup {
        private final Map<Class<?>, Object> components;
    
        private ProtoLookup(Map<Class<?>, Object> components) {
            this.components = components;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            Optional<T> optional = lookupOptional(type);
            if (optional.isPresent()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

        protected void configure() {
            bindScope(SessionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.SessionScoped.class, scope);
            bind(SessionScope.class).toInstance(scope);
    
            bind(MavenSession.class)
                    .toProvider(SessionScope.seededKeyProvider(MavenSession.class))
                    .in(scope);
            bind(Session.class)
                    .toProvider(SessionScope.seededKeyProvider(Session.class))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

            Provider<BeanLocator> beanLocatorProvider = getProvider(BeanLocator.class);
            injector = new BridgeInjectorImpl(beanLocatorProvider, binder());
            bindScope(injector, containerProvider, SessionScoped.class, SessionScope.class);
            bindScope(injector, containerProvider, MojoExecutionScoped.class, MojoExecutionScope.class);
            injector.bindInstance(Injector.class, injector);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            try (MockedStatic<LoggerFactory> mockedLoggerFactory = Mockito.mockStatic(LoggerFactory.class)) {
                mockedLoggerFactory
                        .when(() -> LoggerFactory.getLogger(DefaultClassRealmManager.class))
                        .thenReturn(logger);
    
                classRealmManager = newDefaultClassRealmManager(container);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top