Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 60 for NonNull (0.05 seconds)

  1. 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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. 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.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. 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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 31 10:58:52 GMT 2025
    - 11K bytes
    - Click Count (0)
  4. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. 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");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. 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;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. 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();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  8. 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();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

         * @return the version range resolver request, never {@code null}
         */
        @Nonnull
        static VersionRangeResolverRequest build(
                @Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) {
            return build(session, artifactCoordinates, null, null);
        }
    
        /**
         * Creates a version range resolver request.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * @return an identification of the patch-module path for the given module.
         *
         * @see Modular#moduleName()
         */
        @Nonnull
        public static Modular patchModule(@Nonnull String moduleName) {
            return PATCH_MODULE.new Modular(moduleName);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 15.7K bytes
    - Click Count (1)
Back to Top