Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 274 for Nonnull (0.05 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                sb.append("<code>");
    
                if (nonNull(option.getOpt())) {
                    sb.append("-<a name='");
                    sb.append(option.getOpt());
                    sb.append("'>");
                    sb.append(option.getOpt());
                    sb.append("</a>");
                }
    
                if (nonNull(option.getLongOpt())) {
                    if (nonNull(option.getOpt())) {
                        sb.append(", ");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/TypeRegistry.java

         * create a custom {@code Type} for it.
         *
         * @param id the id of the type to retrieve
         * @return the type
         */
        @Nonnull
        @Override
        default Type require(@Nonnull String id) {
            return lookup(id).orElseThrow(() -> new IllegalArgumentException("Unknown extensible enum value '" + id + "'"));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

          Class<? super @NonNull E> type, E... contents) {
        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
      private final Class<? super @NonNull E> type;
      private final boolean allowNulls;
    
      // Package-private so that it can be extended.
      MinimalCollection(Class<? super @NonNull E> type, boolean allowNulls, E... contents) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .artifactCoordinates(requireNonNull(artifactCoordinates, "artifactCoordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static VersionResolverRequest build(
                @Nonnull Session session,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * A range of versions.
     *
     * {@code VersionConstraint} objects are created using the
     * {@linkplain org.apache.maven.api.services.VersionParser} service.
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            }
    
            @Override
            @Nonnull
            public InputStream openStream() throws IOException {
                return Files.newInputStream(path);
            }
    
            @Override
            @Nonnull
            public String getLocation() {
                return location;
            }
    
            @Override
            @Nullable
            public Source resolve(@Nonnull String relative) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. 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.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      private final Map<TypeToken<? extends @NonNull B>, B> backingMap = new HashMap<>();
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) {
        return trustedGet(TypeToken.of(type));
      }
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type) {
        return trustedGet(type.rejectTypeVariables());
      }
    
      @Override
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         *
         * @return the current working directory path
         */
        @Nonnull
        Path cwd();
    
        /**
         * Returns the Maven installation directory.
         * This is usually set by the Maven launcher script using the "maven.home" system property.
         *
         * @return the Maven installation directory path
         */
        @Nonnull
        Path installationDirectory();
    
        /**
         * Returns the user's home directory.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        @SuppressWarnings("checkstyle:ParameterNumber")
        public DefaultSession(
                @Nonnull MavenSession session,
                @Nonnull RepositorySystem repositorySystem,
                @Nullable List<RemoteRepository> remoteRepositories,
                @Nonnull MavenRepositorySystem mavenRepositorySystem,
                @Nonnull Lookup lookup,
                @Nonnull RuntimeInformation runtimeInformation) {
            super(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top