mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
python-psi-impl shouldn't depend on lang-api
GitOrigin-RevId: db25c76e0ea09f80406fdf6b4998c2a9ad0a9a2b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
366d45a2a7
commit
5c3d6b7bb1
@@ -49,11 +49,11 @@ public abstract class JavaStatisticsManager {
|
||||
}
|
||||
|
||||
public static int getVariableNameUseCount(String name, VariableKind variableKind, String propertyName, PsiType type) {
|
||||
return createVariableUseInfo(name, variableKind, propertyName, type).getUseCount();
|
||||
return StatisticsManager.getInstance().getUseCount(createVariableUseInfo(name, variableKind, propertyName, type));
|
||||
}
|
||||
|
||||
public static void incVariableNameUseCount(String name, VariableKind variableKind, String propertyName, PsiType type) {
|
||||
createVariableUseInfo(name, variableKind, propertyName, type).incUseCount();
|
||||
StatisticsManager.getInstance().incUseCount(createVariableUseInfo(name, variableKind, propertyName, type));
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user