Message () { String title = buildTitle(); String text = buildText(); String group = buildGroup(); Message.Kind kind = buildKind(); Message.FilePosition filePosition = buildFilePosition(); return new Message(title, text, group, kind, filePosition); }