private String getText(@NotNull TextType textType, boolean annotated) {
   mySubstitutor.ensureValid();
   StringBuilder buffer = new StringBuilder();
   buildText(myClass, mySubstitutor, buffer, textType, annotated);
   return buffer.toString();
 }