public String toJavaIdentifier ( final String text , final boolean uppercaseFirst ) { return GrammarAccessUtil . toJavaIdentifier ( text , Boolean . valueOf ( uppercaseFirst ) ) ; }
Converts an arbitary string to a valid Java identifier . The string is split up along the the characters that are not valid as Java identifier . The first character of each segments is made upper case which leads to a camel - case style .