void () { myFixture.addClass("package com.intellij.util.xmlb.annotations; public @interface Attribute { String value() default \"\";}"); myFixture.addClass("package com.intellij.util.xmlb.annotations; public @interface Tag { String value() default \"\";}"); myFixture.addClass("package org.jetbrains.annotations; public @interface NonNls {}"); myFixture.addClass("package org.jetbrains.annotations; public @interface Nls {" + " enum Capitalization {NotSpecified,Title,Sentence}" + " Capitalization capitalization() default Capitalization.NotSpecified;" + "}"); myFixture.enableInspections(new SpellCheckingInspection()); myFixture.testHighlighting("pluginXmlCapitalization_extensionPoint.xml", "MyExtensionPoint.java"); }