@ SuppressWarnings ( "WeakerAccess" ) public String getProperty ( Enum < ? > key , boolean lowerCase ) { final String keyName ; if ( lowerCase ) { keyName = key . name ( ) . toLowerCase ( Locale . ENGLISH ) ; } else { keyName = key . name ( ) ; } return getProperty ( keyName ) ; }
Gets the property by key converted to lowercase if requested