void (StructureViewComponent svc) { svc.setActionActive(InheritedMembersNodeProvider.ID, false); PlatformTestUtil.assertTreeEqual( svc.getTree(), """ -Class2.java -Class2 __myPrivateFiield: int _myProtectedField: int myPublicField: int """); svc.setActionActive(VisibilitySorter.ID, true); PlatformTestUtil.assertTreeEqual( svc.getTree(), """ -Class2.java -Class2 myPublicField: int _myProtectedField: int __myPrivateFiield: int """); }