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:
committed by
Facebook GitHub Bot
parent
f7ecbdb132
commit
3a628019f7
@@ -107,6 +107,13 @@ public class DebugSectionDescriptor extends NodeDescriptor<DebugSection> {
|
||||
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
|
||||
public void setHighlighted(DebugSection node, boolean selected, boolean isAlignmentMode)
|
||||
throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user