mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-psi] Use getFrequentIndex() in writeTYPE() as well
GitOrigin-RevId: 025f94606f23b1fb0d4ecbdeaf0cc7cb594e11fb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1b5661065a
commit
ba80e056fa
@@ -259,7 +259,7 @@ public final class TypeInfo {
|
||||
|
||||
String text = typeInfo.text;
|
||||
byte arrayCount = typeInfo.arrayCount;
|
||||
int frequentIndex = ourFrequentTypeIndex.getInt(text);
|
||||
int frequentIndex = getFrequentIndex(text);
|
||||
boolean hasTypeAnnotations = typeInfo.myTypeAnnotations != null && !typeInfo.myTypeAnnotations.isEmpty();
|
||||
int flags = (typeInfo.isEllipsis ? HAS_ELLIPSIS : 0) | (arrayCount != 0 ? HAS_ARRAY_COUNT : 0) |
|
||||
(hasTypeAnnotations ? HAS_TYPE_ANNOTATIONS : 0) | frequentIndex;
|
||||
|
||||
Reference in New Issue
Block a user