static

in Dart/src/com/jetbrains/lang/dart/highlight/DartColorsAndFontsPage.java [57:258]


  static {
    PREVIEW_TAGS.put("ERROR", ERROR);
    PREVIEW_TAGS.put("WARNING", WARNING);
    PREVIEW_TAGS.put("HINT", HINT);

    PREVIEW_TAGS.put("DART_ANNOTATION", ANNOTATION);
    PREVIEW_TAGS.put("DART_CLASS", CLASS);
    PREVIEW_TAGS.put("DART_CONSTRUCTOR", CONSTRUCTOR);
    PREVIEW_TAGS.put("DART_CONSTRUCTOR_TEAR_OFF", CONSTRUCTOR_TEAR_OFF);

    PREVIEW_TAGS.put("DART_DYNAMIC_LOCAL_VARIABLE_DECLARATION", DYNAMIC_LOCAL_VARIABLE_DECLARATION);
    PREVIEW_TAGS.put("DART_DYNAMIC_LOCAL_VARIABLE_REFERENCE", DYNAMIC_LOCAL_VARIABLE_REFERENCE);
    PREVIEW_TAGS.put("DART_DYNAMIC_PARAMETER_DECLARATION", DYNAMIC_PARAMETER_DECLARATION);
    PREVIEW_TAGS.put("DART_DYNAMIC_PARAMETER_REFERENCE", DYNAMIC_PARAMETER_REFERENCE);

    PREVIEW_TAGS.put("DART_ENUM", ENUM);
    PREVIEW_TAGS.put("DART_ENUM_CONSTANT", ENUM_CONSTANT);
    PREVIEW_TAGS.put("DART_EXTENSION", EXTENSION);
    PREVIEW_TAGS.put("DART_EXTENSION_TYPE", EXTENSION_TYPE);
    PREVIEW_TAGS.put("DART_FUNCTION_TYPE_ALIAS", FUNCTION_TYPE_ALIAS);
    PREVIEW_TAGS.put("DART_TYPE_ALIAS", TYPE_ALIAS);

    PREVIEW_TAGS.put("DART_IDENTIFIER", IDENTIFIER);
    PREVIEW_TAGS.put("DART_INSTANCE_FIELD_DECLARATION", INSTANCE_FIELD_DECLARATION);
    PREVIEW_TAGS.put("DART_INSTANCE_FIELD_REFERENCE", INSTANCE_FIELD_REFERENCE);
    PREVIEW_TAGS.put("DART_INSTANCE_GETTER_DECLARATION", INSTANCE_GETTER_DECLARATION);
    PREVIEW_TAGS.put("DART_INSTANCE_GETTER_REFERENCE", INSTANCE_GETTER_REFERENCE);
    PREVIEW_TAGS.put("DART_INSTANCE_METHOD_DECLARATION", INSTANCE_METHOD_DECLARATION);
    PREVIEW_TAGS.put("DART_INSTANCE_METHOD_REFERENCE", INSTANCE_METHOD_REFERENCE);
    PREVIEW_TAGS.put("DART_INSTANCE_METHOD_TEAR_OFF", INSTANCE_METHOD_TEAR_OFF);
    PREVIEW_TAGS.put("DART_INSTANCE_SETTER_DECLARATION", INSTANCE_SETTER_DECLARATION);
    PREVIEW_TAGS.put("DART_INSTANCE_SETTER_REFERENCE", INSTANCE_SETTER_REFERENCE);

    PREVIEW_TAGS.put("DART_IMPORT_PREFIX", IMPORT_PREFIX);
    PREVIEW_TAGS.put("DART_KEYWORD", KEYWORD);
    PREVIEW_TAGS.put("DART_LABEL", LABEL);
    PREVIEW_TAGS.put("DART_LIBRARY_NAME", LIBRARY_NAME);

    PREVIEW_TAGS.put("DART_LOCAL_FUNCTION_DECLARATION", LOCAL_FUNCTION_DECLARATION);
    PREVIEW_TAGS.put("DART_LOCAL_FUNCTION_REFERENCE", LOCAL_FUNCTION_REFERENCE);
    PREVIEW_TAGS.put("DART_LOCAL_FUNCTION_TEAR_OFF", LOCAL_FUNCTION_TEAR_OFF);
    PREVIEW_TAGS.put("DART_LOCAL_VARIABLE_DECLARATION", LOCAL_VARIABLE_DECLARATION);
    PREVIEW_TAGS.put("DART_LOCAL_VARIABLE_REFERENCE", LOCAL_VARIABLE_REFERENCE);

    PREVIEW_TAGS.put("DART_MIXIN", MIXIN);

    PREVIEW_TAGS.put("DART_PARAMETER_DECLARATION", PARAMETER_DECLARATION);
    PREVIEW_TAGS.put("DART_PARAMETER_REFERENCE", PARAMETER_REFERENCE);

    PREVIEW_TAGS.put("DART_STATIC_FIELD_DECLARATION", STATIC_FIELD_DECLARATION);
    PREVIEW_TAGS.put("DART_STATIC_GETTER_DECLARATION", STATIC_GETTER_DECLARATION);
    PREVIEW_TAGS.put("DART_STATIC_GETTER_REFERENCE", STATIC_GETTER_REFERENCE);
    PREVIEW_TAGS.put("DART_STATIC_METHOD_DECLARATION", STATIC_METHOD_DECLARATION);
    PREVIEW_TAGS.put("DART_STATIC_METHOD_REFERENCE", STATIC_METHOD_REFERENCE);
    PREVIEW_TAGS.put("DART_STATIC_METHOD_TEAR_OFF", STATIC_METHOD_TEAR_OFF);
    PREVIEW_TAGS.put("DART_STATIC_SETTER_DECLARATION", STATIC_SETTER_DECLARATION);
    PREVIEW_TAGS.put("DART_STATIC_SETTER_REFERENCE", STATIC_SETTER_REFERENCE);

    PREVIEW_TAGS.put("DART_TOP_LEVEL_FUNCTION_DECLARATION", TOP_LEVEL_FUNCTION_DECLARATION);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_FUNCTION_REFERENCE", TOP_LEVEL_FUNCTION_REFERENCE);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_FUNCTION_TEAR_OFF", TOP_LEVEL_FUNCTION_TEAR_OFF);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_GETTER_DECLARATION", TOP_LEVEL_GETTER_DECLARATION);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_GETTER_REFERENCE", TOP_LEVEL_GETTER_REFERENCE);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_SETTER_DECLARATION", TOP_LEVEL_SETTER_DECLARATION);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_SETTER_REFERENCE", TOP_LEVEL_SETTER_REFERENCE);
    PREVIEW_TAGS.put("DART_TOP_LEVEL_VARIABLE_DECLARATION", TOP_LEVEL_VARIABLE_DECLARATION);

    PREVIEW_TAGS.put("DART_TYPE_NAME_DYNAMIC", TYPE_NAME_DYNAMIC);
    PREVIEW_TAGS.put("DART_TYPE_PARAMETER", TYPE_PARAMETER);
    PREVIEW_TAGS.put("DART_UNRESOLVED_INSTANCE_MEMBER_REFERENCE", UNRESOLVED_INSTANCE_MEMBER_REFERENCE);

    PREVIEW_TAGS.put("DART_BLOCK_COMMENT", BLOCK_COMMENT);
    PREVIEW_TAGS.put("DART_DOC_COMMENT", DOC_COMMENT);
    PREVIEW_TAGS.put("DART_LINE_COMMENT", LINE_COMMENT);

    PREVIEW_TAGS.put("DART_NUMBER", NUMBER);
    PREVIEW_TAGS.put("DART_STRING", STRING);
    PREVIEW_TAGS.put("DART_VALID_STRING_ESCAPE", VALID_STRING_ESCAPE);
    PREVIEW_TAGS.put("DART_INVALID_STRING_ESCAPE", INVALID_STRING_ESCAPE);
    PREVIEW_TAGS.put("DART_OPERATION_SIGN", OPERATION_SIGN);
    PREVIEW_TAGS.put("DART_PARENTH", PARENTHS);
    PREVIEW_TAGS.put("DART_BRACKETS", BRACKETS);
    PREVIEW_TAGS.put("DART_BRACES", BRACES);
    PREVIEW_TAGS.put("DART_COMMA", COMMA);
    PREVIEW_TAGS.put("DART_DOT", DOT);
    PREVIEW_TAGS.put("DART_SEMICOLON", SEMICOLON);
    PREVIEW_TAGS.put("DART_COLON", COLON);
    PREVIEW_TAGS.put("DART_FAT_ARROW", FAT_ARROW);
    PREVIEW_TAGS.put("DART_BAD_CHARACTER", BAD_CHARACTER);
    PREVIEW_TAGS.put("DART_SYMBOL_LITERAL", SYMBOL_LITERAL);

    ATTRS = new AttributesDescriptor[]{
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.error"), ERROR),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.warning"), WARNING),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.hint"), HINT),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.block.comment"), BLOCK_COMMENT),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.doc.comment"), DOC_COMMENT),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.line.comment"), LINE_COMMENT),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.number"), NUMBER),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.string"), STRING),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.valid.string.escape"), VALID_STRING_ESCAPE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.invalid.string.escape"), INVALID_STRING_ESCAPE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.operator"), OPERATION_SIGN),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.parentheses"), PARENTHS),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.brackets"), BRACKETS),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.braces"), BRACES),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.comma"), COMMA),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.dot"), DOT),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.semicolon"), SEMICOLON),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.colon"), COLON),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.fat.arrow"), FAT_ARROW),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.bad.character"), BAD_CHARACTER),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.symbol.literal"), SYMBOL_LITERAL),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.annotation"), ANNOTATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.class"), CLASS),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.constructor"), CONSTRUCTOR),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.constructor.tearoff"), CONSTRUCTOR_TEAR_OFF),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.dynamic.local.variable.declaration"),
                               DYNAMIC_LOCAL_VARIABLE_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.dynamic.local.variable.reference"),
                               DYNAMIC_LOCAL_VARIABLE_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.dynamic.parameter.declaration"),
                               DYNAMIC_PARAMETER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.dynamic.parameter.reference"),
                               DYNAMIC_PARAMETER_REFERENCE),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.enum"), ENUM),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.enum.constant"), ENUM_CONSTANT),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.extension"), EXTENSION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.extension.type"), EXTENSION_TYPE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.function.type.alias"), FUNCTION_TYPE_ALIAS),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.type.alias"), TYPE_ALIAS),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.identifier"), IDENTIFIER),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.field.declaration"),
                               INSTANCE_FIELD_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.field.reference"), INSTANCE_FIELD_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.getter.declaration"),
                               INSTANCE_GETTER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.getter.reference"), INSTANCE_GETTER_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.method.declaration"),
                               INSTANCE_METHOD_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.method.reference"), INSTANCE_METHOD_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.method.tearoff"), INSTANCE_METHOD_TEAR_OFF),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.setter.declaration"),
                               INSTANCE_SETTER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.instance.setter.reference"), INSTANCE_SETTER_REFERENCE),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.import.prefix"), IMPORT_PREFIX),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.keyword"), KEYWORD),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.label"), LABEL),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.library.name"), LIBRARY_NAME),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.local.function.declaration"),
                               LOCAL_FUNCTION_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.local.function.reference"), LOCAL_FUNCTION_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.local.function.tearoff"), LOCAL_FUNCTION_TEAR_OFF),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.local.variable.declaration"),
                               LOCAL_VARIABLE_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.local.variable.reference"), LOCAL_VARIABLE_REFERENCE),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.mixin"), MIXIN),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.parameter.declaration"), PARAMETER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.parameter.reference"), PARAMETER_REFERENCE),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.field.declaration"), STATIC_FIELD_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.getter.declaration"), STATIC_GETTER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.getter.reference"), STATIC_GETTER_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.method.declaration"), STATIC_METHOD_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.method.reference"), STATIC_METHOD_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.method.tearoff"), STATIC_METHOD_TEAR_OFF),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.setter.declaration"), STATIC_SETTER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.static.setter.reference"), STATIC_SETTER_REFERENCE),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.function.declaration"),
                               TOP_LEVEL_FUNCTION_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.function.reference"),
                               TOP_LEVEL_FUNCTION_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.function.tearoff"),
                               TOP_LEVEL_FUNCTION_TEAR_OFF),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.getter.declaration"),
                               TOP_LEVEL_GETTER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.getter.reference"),
                               TOP_LEVEL_GETTER_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.setter.declaration"),
                               TOP_LEVEL_SETTER_DECLARATION),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.setter.reference"),
                               TOP_LEVEL_SETTER_REFERENCE),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.top.level.variable.declaration"),
                               TOP_LEVEL_VARIABLE_DECLARATION),

      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.type.name.dynamic"), TYPE_NAME_DYNAMIC),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.type.parameter"), TYPE_PARAMETER),
      new AttributesDescriptor(DartBundle.message("dart.color.settings.description.unresolved.instance.member.reference"),
                               UNRESOLVED_INSTANCE_MEMBER_REFERENCE),
    };
  }