Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for nonNull (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         */
        @Nonnull
        Map<String, Object> getPluginContext(@Nonnull Project project);
    
        /**
         * Retrieves the service for the interface
         *
         * @throws NoSuchElementException if the service could not be found
         */
        @Nonnull
        <T extends Service> T getService(@Nonnull Class<T> clazz);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          Map<Class<? extends @NonNull B>, B> backingMap) {
        return new MutableClassToInstanceMap<>(backingMap);
      }
    
      private final Map<Class<? extends @NonNull B>, B> delegate;
    
      private MutableClassToInstanceMap(Map<Class<? extends @NonNull B>, B> delegate) {
        this.delegate = checkNotNull(delegate);
      }
    
      @Override
      protected Map<Class<? extends @NonNull B>, B> delegate() {
        return delegate;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         */
        record Entry(
                @Nonnull Level level,
                @Nonnull String message,
                @Nullable Throwable error) {}
    
        /**
         * If this is an accumulating log, it will "drain" this instance. It returns the accumulated log entries, and
         * also "resets" this instance to empty (initial) state.
         */
        @Nonnull
        default List<Entry> drain() {
            return List.of();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

        }
    
        @Nonnull
        @Override
        public Collection<SourceRoot> getSourceRoots(@Nonnull Project project) {
            MavenProject prj = getMavenProject(requireNonNull(project, "project" + " cannot be null"));
            return prj.getSourceRoots();
        }
    
        @Nonnull
        @Override
        public Stream<SourceRoot> getEnabledSourceRoots(@Nonnull Project project, ProjectScope scope, Language language) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 16:17:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return The source from which the model was read, never {@code null}.
         */
        @Nonnull
        ModelSource getSource();
    
        /**
         * Gets the file model.
         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

            @Nonnull
            @Override
            public List<org.apache.maven.api.Toolchain> getToolchains(
                    @Nonnull Session session, @Nonnull String type, @Nullable Map<String, String> requirements)
                    throws ToolchainManagerException {
                return getDelegate().getToolchains(session, type, requirements);
            }
    
            @Nonnull
            @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

    @Experimental
    public interface Project {
    
        /**
         * {@return the project groupId}.
         */
        @Nonnull
        String getGroupId();
    
        /**
         * {@return the project artifactId}.
         */
        @Nonnull
        String getArtifactId();
    
        /**
         * {@return the project version}.
         */
        @Nonnull
        String getVersion();
    
        /**
         * {@return the project packaging}.
         * <p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            return path.toAbsolutePath().normalize();
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
  10. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getName() {
            return name();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getNamespaceUri() {
            return namespaceUri();
        }
    
        @Deprecated(since = "4.0.0", forRemoval = true)
        @Nonnull
        default String getPrefix() {
            return prefix();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Dec 17 15:20:44 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top