Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for methodNames (0.1 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

    class FileToRawModelMergerTest {
    
        /**
         * Ensures that all list-merge methods are overridden
         */
        @Test
        void testOverriddenMergeMethods() {
            List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods())
                    .filter(m -> m.getName().startsWith("merge"))
                    .filter(m -> {
                        String baseName = m.getName().substring(5 /* merge */);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param method The method
         */
        void add(Method method) {
            String methodName = method.getName();
    
            List<Method> l = get(methodName);
    
            if (l == null) {
                l = new ArrayList<>();
                methodByNameMap.put(methodName, l);
            }
    
            l.add(method);
        }
    
        /**
         * Return a list of methods with the same name.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top