Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 151 for setType (0.06 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                if ((typeReference.getSort() == TypeReference.CLASS_TYPE_PARAMETER || typeReference.getSort() == TypeReference.CLASS_TYPE_PARAMETER_BOUND) &&
                    NULLABLE_ANNOTATIONS.contains(Type.getType(descriptor).getClassName())) {
                    typeParametersNullability.set(typeReference.getTypeParameterIndex(), true)
                }
                return null
            }
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java

                    if (isQualifiedForInterpolation) {
                        for (Field currentField : clazz.getDeclaredFields()) {
                            Class<?> type = currentField.getType();
                            if (isQualifiedForInterpolation(currentField, type)) {
                                if (String.class == type) {
                                    if (!Modifier.isFinal(currentField.getModifiers())) {
    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)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

     * </ul>
     *
     * <p>Example usage:</p>
     * <pre>
     * Toolchain toolchain = ...; // Obtain a Toolchain instance
     * String type = toolchain.getType(); // Get the type of the toolchain
     * String version = toolchain.getVersion(); // Get the version of the toolchain
     * </pre>
     *
     *
     * @since 4.0.0
     * @see JavaToolchain
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                        return null;
                    }
                }
                for (JApiCompatibilityChange change : member.getCompatibilityChanges()) {
                    if (IGNORED_CHANGE_TYPES.contains(change.getType())) {
                        return null;
                    }
                }
                if (member instanceof JApiHasAnnotations) {
                    if (isIncubating((JApiHasAnnotations) member)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * a modular-<abbr>JAR</abbr> if it is intended to be placed on the module path,
         * a <abbr>JAR</abbr> containing test classes, <i>etc.</i>
         *
         * @see DependencyCoordinates#getType()
         */
        @Nonnull
        Type getType();
    
        /**
         * {@return the time at which the dependency will be used}.
         * It may be, for example, at compile time only, at run time or at test time.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                    Field[] fields = FIELDS_BY_CLASS.computeIfAbsent(cls, k -> cls.getDeclaredFields());
    
                    for (Field field : fields) {
                        Class<?> type = field.getType();
                        if (isQualifiedForInterpolation(field, type)) {
                            boolean isAccessible = field.isAccessible();
                            field.setAccessible(true);
                            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

        String getGroupId();
    
        String getArtifactId();
    
        String getVersion();
    
        String getClassifier();
    
        String getExtension();
    
        String getType();
    
        static ArtifactFactoryRequest build(
                Session session, String groupId, String artifactId, String version, String extension) {
            return ArtifactFactoryRequest.builder()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), Names.named(s));
                } else if (key.getQualifier() instanceof Annotation a) {
                    return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), a);
                } else {
                    return (com.google.inject.Key<U>) com.google.inject.Key.get(key.getType(), Named.class);
                }
            }
    
    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)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

                for (ToolchainModel model : toolchains.getToolchains()) {
                    if (!groupedToolchains.containsKey(model.getType())) {
                        groupedToolchains.put(model.getType(), new ArrayList<>());
                    }
    
                    groupedToolchains.get(model.getType()).add(model);
                }
    
                request.setToolchains(groupedToolchains);
            }
            return request;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultExecutionEvent.java

            this.type = type;
            this.session = session;
            this.mojoExecution = mojoExecution;
            this.exception = exception;
        }
    
        @Override
        public Type getType() {
            return type;
        }
    
        @Override
        public MavenSession getSession() {
            return session;
        }
    
        @Override
        public MavenProject getProject() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
Back to Top