mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[performance] do not cache in vfs content for inner classes
This commit is contained in:
@@ -624,7 +624,7 @@ public class ClsFileImpl extends ClsRepositoryPsiElement<PsiClassHolderFileStub>
|
||||
@Override
|
||||
public void accept(VirtualFile innerClass, StubBuildingVisitor<VirtualFile> visitor) {
|
||||
try {
|
||||
byte[] bytes = innerClass.contentsToByteArray();
|
||||
byte[] bytes = innerClass.contentsToByteArray(false);
|
||||
new ClassReader(bytes).accept(visitor, ClassReader.SKIP_FRAMES);
|
||||
}
|
||||
catch (IOException ignored) { }
|
||||
|
||||
Reference in New Issue
Block a user