static {
   DEFINED_CONSTANTS_ATTR.setForegroundColor(Color.MAGENTA);
   UPVAL_ATTR.setFontType(SimpleTextAttributes.STYLE_ITALIC);
   LONGSTRING_ATTR.setBackgroundColor(new Color(0xD0, 0xD0, 0xD0));
   GLOBAL_VAR_ATTR.setForegroundColor(new Color(128, 0, 0));
   LOCAL_VAR_ATTR.setForegroundColor(new Color(0, 153, 153));
   PARAMETER_ATTR.setForegroundColor(new Color(153, 102, 255));
   LUADOC_ATTR.setForegroundColor(new Color(64, 95, 189));
   LUADOC_TAG_ATTR.setForegroundColor(new Color(64, 95, 189));
   LUADOC_VALUE_ATTR.setForegroundColor(new Color(64, 95, 189));
 }
 private void merge(TextAttributes attributes) {
   Color myBackground = myMergedAttributes.getBackgroundColor();
   if (myBackground == null || myDefaultBackground.equals(myBackground)) {
     myMergedAttributes.setBackgroundColor(attributes.getBackgroundColor());
   }
   Color myForeground = myMergedAttributes.getForegroundColor();
   if (myForeground == null || myDefaultForeground.equals(myForeground)) {
     myMergedAttributes.setForegroundColor(attributes.getForegroundColor());
   }
   if (myMergedAttributes.getFontType() == Font.PLAIN) {
     myMergedAttributes.setFontType(attributes.getFontType());
   }
 }
 static {
   LITERAL_CONVERSION_ATTRIBUTES.setForegroundColor(PlatformColors.BLUE);
   LITERAL_CONVERSION_ATTRIBUTES.setFontType(Font.BOLD);
 }
 static {
   KEYWORD_ATTRIBUTES.setForegroundColor(new Color(0, 0, 67));
   KEYWORD_ATTRIBUTES.setFontType(Font.BOLD);
 }
 static {
   INSTANCE_PROPERTY_REFERENCE_ATTRIBUTES.setFontType(Font.PLAIN);
   STATIC_PROPERTY_REFERENCE_ATTRIBUTES.setFontType(Font.ITALIC);
 }