After my terrible forays into Java-land, I've gone into the same camp as jrburke: even for acronyms, only capitalize the first letter. Because then, in some sort of alternate universe, one could programatically switch capitalization styles losslessly (to underscores or hyphens or whatever). Obviously useless, but somehow nice in theory. In this case, I'd probably do goodImapStarttlsXml, but STARTTLS is kind of weird since it's always capitalized like that and not really split at TLS. :-/