Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for Method (0.33 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // now get the 'public method', the method declared by a
                // public interface or class (because the actual implementing
                // class may be a facade...)
    
                Method publicMethod = getPublicMethod(method);
    
                // it is entirely possible that there is no public method for
                // the methods of this class (i.e. in the facade, a method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {
            LinkedList<Method> list = new LinkedList<>();
    
            for (Method method : methods) {
                if (isApplicable(method, classes)) {
                    list.add(method);
                }
            }
            return list;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

                    .collect(toList());
    
            List<Method> factoryMethods = Arrays.stream(cls.getDeclaredMethods())
                    .filter(method -> method.getReturnType() == cls && Modifier.isStatic(method.getModifiers()))
                    .collect(toList());
            List<Method> injectFactoryMethods = factoryMethods.stream()
                    .filter(method -> method.isAnnotationPresent(Inject.class))
                    .collect(toList());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                        generateLanguageVersionSettingsBasedMetadataFlags(firSession.languageVersionSettings)
            )
    }
    
    private fun getAsmMethodSignatureWithCorrection(method: PsiMethod): String = buildString {
        append("(")
        if (method.containingClass?.isEnum == true && method.isConstructor) {
            // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

            // Bind inner providers
            for (Method method : key.getRawType().getDeclaredMethods()) {
                if (method.isAnnotationPresent(Provides.class)) {
                    if (method.getTypeParameters().length != 0) {
                        throw new DIException("Parameterized method are not supported " + method);
                    }
                    Object qualifier = ReflectionUtils.qualifierOf(method);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

            try {
                for (String prefix : Arrays.asList("get", "is", "to", "as")) {
                    Method method = classMap.findMethod(prefix + methodBase);
                    if (method != null) {
                        return method.invoke(value, OBJECT_ARGS);
                    }
                }
                return null;
            } catch (InvocationTargetException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

        public Optional<JavaFileManager.Location> location() {
            return Optional.ofNullable(location);
        }
    
        /**
         * Returns the path type associated to the given {@code javax.tool} location.
         * This method is the converse of {@link #location()}.
         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java

         *     </ul>
         *   </li>
         * </ul>
         *
         * This method must be invoked before {@link #addDependency(Node, Dependency, Predicate, Path)}
         * if output directories are desired on the class-path or module-path.
         * This method can be invoked at most once.
         *
         * @param main the main output directory, or {@code null} if none
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                        logger.warn("Could not persist build resumption data", e);
                    }
                });
            }
        }
    
        /**
         * Nobody should ever use this method.
         *
         * @deprecated If you use this method and your code is not in Maven Core, stop doing this.
         */
        @Deprecated
        public RepositorySystemSession newRepositorySession(MavenExecutionRequest request) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    an application perspective, the first requirement is to retrieve an object reference to the LogFactory instance that will be used to create Log instances for this application. This is normally accomplished by calling the static getFactory() method. This method implements the following discovery algorithm to select the name of the LogFactory implementation class this application wants to use: Check for a system property named org.apache.commons.logging.LogFactory. Use the JDK 1.3 JAR Services Discovery...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 30.9K bytes
    - Viewed (0)
Back to top