mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
process only prepared classes
This commit is contained in:
@@ -543,7 +543,9 @@ public class MethodBreakpoint extends BreakpointWithHighlighter<JavaMethodBreakp
|
||||
progressIndicator.setIndeterminate(true);
|
||||
|
||||
MultiMap<ReferenceType, ReferenceType> inheritance = new MultiMap<>();
|
||||
classType.virtualMachine().allClasses().forEach(type -> supertypes(type).forEach(st -> inheritance.putValue(st, type)));
|
||||
classType.virtualMachine().allClasses().stream()
|
||||
.filter(ReferenceType::isPrepared)
|
||||
.forEach(type -> supertypes(type).forEach(st -> inheritance.putValue(st, type)));
|
||||
List<ReferenceType> types = StreamEx.ofTree(classType, t -> StreamEx.of(inheritance.get(t))).skip(1).toList();
|
||||
|
||||
progressIndicator.setIndeterminate(false);
|
||||
|
||||
Reference in New Issue
Block a user