Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Kast (0.13 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

    import static org.apache.maven.internal.impl.Utils.cast;
    
    public interface InternalSession extends Session {
    
        static InternalSession from(Session session) {
            return cast(InternalSession.class, session, "session should be an " + InternalSession.class);
        }
    
        static InternalSession from(org.eclipse.aether.RepositorySystemSession session) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                injector.bindInstance(org.apache.maven.api.MojoExecution.class, execution);
                injector.bindInstance(org.apache.maven.api.plugin.Log.class, log);
                mojo = mojoInterface.cast(injector.getInstance(
                        Key.of(mojoDescriptor.getImplementationClass(), mojoDescriptor.getRoleHint())));
    
            } catch (Exception e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    return null;
                }
            };
        }
    
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        private Model fireEvent(
                Model model,
                ModelBuilderRequest request,
                ModelProblemCollector problems,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

                    this.t = t;
                }
            }
        }
    
        @SuppressWarnings("unchecked")
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                return null;
            }
        }
    
        @SuppressWarnings("unchecked")
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        static class LazyMap<K, V> extends AbstractMap<K, V> {
            private final Supplier<Map<K, V>> supplier;
            private volatile Map<K, V> delegate;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                }
                return result.source;
            }
        }
    
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        private ModelSource doResolveModel(Parent parent, AtomicReference<Parent> modified)
                throws UnresolvableModelException {
            try {
                final Artifact artifact =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top