List<Equations> (Member method) { VirtualFile file = findClassFile(method.internalClassName); if (file == null) return Collections.emptyList(); try { Map<EKey, Equations> map = ClassDataIndexer.processClass(new ClassReader(file.contentsToByteArray(false)), file.getPresentableUrl()); Map<Member, List<Equations>> groups = EntryStream.of(map).mapKeys(key -> (Member)key.member).grouping(); myEquationCache.putAll(groups); return groups.getOrDefault(method, Collections.emptyList()); } catch (IOException e) { throw new UncheckedIOException(e); } }