/* BSD 2-Clause License - see OPAL/LICENSE for details. */
package org.opalj
package da
import scala.xml.Node
/**
* Represents the ''Record'' attribute (Java 16).
*
* @author Dominik Helm
*/
case class Record_attribute(
attribute_name_index: Constant_Pool_Index,
components: RecordComponents // ArraySeq[Constant_Pool_Index]
) extends Attribute {
override def attribute_length: Int = 2 + components.iterator.map(_.length).sum
override def toXHTML(implicit cp: Constant_Pool): Node = {
Record
{ components.map[Node] { c =>