mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
do not use guava immutable map (part 2)
GitOrigin-RevId: a30122e0670b70932eed14da4c391317153c5024
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4420b58bc9
commit
1c5f802ea3
@@ -14,7 +14,6 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.projectModel" exported="" />
|
||||
<orderEntry type="module" module-name="intellij.platform.projectModel.impl" />
|
||||
<orderEntry type="module" module-name="intellij.java.indexing" exported="" />
|
||||
<orderEntry type="library" name="Guava" level="project" />
|
||||
<orderEntry type="library" name="kotlin-stdlib" level="project" />
|
||||
<orderEntry type="library" name="fastutil-min" level="project" />
|
||||
</component>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.psi.impl
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting
|
||||
import com.intellij.ide.highlighter.JavaFileType
|
||||
import com.intellij.lang.LighterAST
|
||||
import com.intellij.lang.LighterASTNode
|
||||
@@ -28,6 +27,7 @@ import com.intellij.util.io.EnumeratorStringDescriptor
|
||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMap
|
||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMaps
|
||||
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap
|
||||
import org.jetbrains.annotations.VisibleForTesting
|
||||
import java.io.DataInput
|
||||
import java.io.DataOutput
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.psi.impl.java;
|
||||
|
||||
import com.google.common.base.MoreObjects;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.io.DataInputOutputUtilRt;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
@@ -23,7 +22,7 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class FunExprOccurrence {
|
||||
public final class FunExprOccurrence {
|
||||
private final int argIndex;
|
||||
private final List<? extends ReferenceChainLink> referenceContext;
|
||||
|
||||
@@ -45,10 +44,7 @@ public class FunExprOccurrence {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return MoreObjects.toStringHelper(this)
|
||||
.add("argIndex", argIndex)
|
||||
.add("chain", referenceContext)
|
||||
.toString();
|
||||
return "FunExprOccurrence(argIndex=" + argIndex + ", chain=" + referenceContext + ")";
|
||||
}
|
||||
|
||||
void serialize(DataOutput out) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user