public TextBuffer appendCastTypeName(VarType type) {
    return appendCastTypeName(ExprProcessor.getCastTypeName(type), type);
  }
Allows to connect text with resulting lines

@author egor
src/org/jetbrains/java/decompiler/util/TextBuffer.java