shorter LookupElementPresentation.TextFragment.toString

GitOrigin-RevId: 78455ee9debcb19719bb423b1f74c26135176506
This commit is contained in:
Peter Gromov
2020-01-08 18:34:42 +00:00
committed by intellij-monorepo-bot
parent 0f4149596f
commit ee0505a5dc
@@ -253,8 +253,9 @@ public class LookupElementPresentation {
public String toString() {
return "TextFragment{" +
"text='" + text + '\'' +
", grayed=" + myGrayed +
", fgColor=" + myFgColor +
(myGrayed ? ", grayed" : "") +
(myItalic ? ", italic" : "") +
(myFgColor != null ? ", fgColor=" + myFgColor : "") +
'}';
}