class ClassVisitor {

  public static final String prettyPrint(String _src) {
    final String n = System.getProperty("line.separator");
    final String indent = "  ";
    final StringBuffer b = new StringBuffer();
    int lvl = 0;
    for (int i = 0; i < _src.length(); i++) {
      char c = _src.charAt(i);
      switch (c) {
        case ';':
          b.append(c).append(n).append(getIndent(indent, lvl));
          break;
        case '{':
          b.append(c).append(n).append(getIndent(indent, ++lvl));
          break;
        case '}':
          b.append(c).append(n).append(getIndent(indent, --lvl));
          break;
        default:
          b.append(c);
      }
    }
    return b.toString();
  }

  public  ClassVisitor(CtClass _c);

}