public static ViewNodeAttributes fromGenerated(GeneratedUAView generated) {
NodeAttributes nodeAttributes = NodeAttributes.fromGenerated(generated, NodeClass.View);
boolean containsNoLoops = generated.isContainsNoLoops();
UnsignedByte eventNotifier = new UnsignedByte(generated.getEventNotifier());
return new ViewNodeAttributes(nodeAttributes, containsNoLoops, eventNotifier);
}