public class IntrospectorUtils extends Object
Introspector
class which is part of java.desktop module
from java 9, thus avoiding pulling a module ( of around 10 MB ) for using a single class.Modifier and Type | Method and Description |
---|---|
static String |
decapitalize(String name)
Utility method to take a string and convert it to normal Java variable
name capitalization.
|
public static String decapitalize(String name)
Thus "FooBah" becomes "fooBah" and "X" becomes "x", but "URL" stays as "URL".
name
- The string to be decapitalized.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.