mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[properties] get rid of references to package-private members of intellij.properties.psi from intellij.properties (IJPL-149126)
Visibility of 'PropertiesComponent.getByTokenType' changed to 'public' with '@ApiStatus.Internal' annotation. GitOrigin-RevId: eb6748e951388c1c54c0a547732917ebb6d27eff
This commit is contained in:
committed by
intellij-monorepo-bot
parent
08345e8fdc
commit
2bfdcf5451
-5
@@ -3969,11 +3969,6 @@
|
||||
<module name="intellij.spring.boot" />
|
||||
<module name="intellij.spring.boot.run" />
|
||||
</modules-set>
|
||||
<modules-set>
|
||||
<module name="intellij.properties" />
|
||||
<module name="intellij.properties.psi.impl" />
|
||||
<module name="intellij.properties.psi" />
|
||||
</modules-set>
|
||||
<modules-set>
|
||||
<module name="intellij.xml.dom.impl" />
|
||||
<module name="intellij.xml.dom" />
|
||||
|
||||
+3
-1
@@ -8,6 +8,7 @@ import com.intellij.openapi.editor.colors.TextAttributesKey;
|
||||
import com.intellij.openapi.fileTypes.SyntaxHighlighterBase;
|
||||
import com.intellij.psi.StringEscapesTokenTypes;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nls;
|
||||
|
||||
import java.util.Arrays;
|
||||
@@ -83,7 +84,8 @@ public abstract class PropertiesHighlighter extends SyntaxHighlighterBase {
|
||||
return myTokenType;
|
||||
}
|
||||
|
||||
static PropertiesComponent getByTokenType(IElementType tokenType) {
|
||||
@ApiStatus.Internal
|
||||
public static PropertiesComponent getByTokenType(IElementType tokenType) {
|
||||
return elementTypeToComponent.get(tokenType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user