Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toTitleCase (0.6 sec)

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

            if (value == null || property == null || property.isEmpty()) {
                return null;
            }
    
            ClassMap classMap = getClassMap(value.getClass());
            String methodBase = Character.toTitleCase(property.charAt(0)) + property.substring(1);
            try {
                for (String prefix : Arrays.asList("get", "is", "to", "as")) {
                    Method method = classMap.findMethod(prefix + methodBase);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

            Map<String, MethodInfo> classMethodCache = METHOD_CACHE.computeIfAbsent(beanType, this::buildMethodCache);
    
            String title = Character.toTitleCase(propertyName.charAt(0)) + propertyName.substring(1);
    
            // Try setter first
            MethodInfo setter = classMethodCache.get("set" + title);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top