Detect classes which are Litho Sections

Summary:
Populate class name for Litho Sections.
See D22922106 (86cafb9e80) for reference

Reviewed By: adityasharat

Differential Revision: D22949896

fbshipit-source-id: d804971708cf8c8466dd74eda3e750957dc95fc9
This commit is contained in:
Dominik Wielgórski
2020-08-06 13:09:35 -07:00
committed by Facebook GitHub Bot
parent f7ecbdb132
commit 3a628019f7

View File

@@ -107,6 +107,13 @@ public class DebugSectionDescriptor extends NodeDescriptor<DebugSection> {
return attrs; return attrs;
} }
@Override
public FlipperObject getExtraInfo(DebugSection node) {
FlipperObject.Builder extraInfo = new FlipperObject.Builder();
extraInfo.put("className", node.getSection().getClass().getName());
return extraInfo.build();
}
@Override @Override
public void setHighlighted(DebugSection node, boolean selected, boolean isAlignmentMode) public void setHighlighted(DebugSection node, boolean selected, boolean isAlignmentMode)
throws Exception { throws Exception {