A translation (line-by-line in many cases) of Swift's Demangler.cpp into Java.
other version for demangling swift.
Parse a String containing a mangled Swift symbol with the parseMangledSwiftSymbol function:
String res = MMSwiftDemangle.parseMangledSwiftSymbolToString("$s3Demo21SourcesViewControllerCfETo [<compiler-generated> : 25106 + 0x40]");