case class Code_attribute(attribute_name_index: Constant_Pool_Index, max_stack: Int, max_locals: Int, code: Code, exceptionTable: ExceptionTable = NoExceptionTable, attributes: Attributes = NoAttributes) extends Attribute with Product with Serializable
- Source
- Code_attribute.scala
- Alphabetic
- By Inheritance
- Code_attribute
- Serializable
- Product
- Equals
- Attribute
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Code_attribute(attribute_name_index: Constant_Pool_Index, max_stack: Int, max_locals: Int, code: Code, exceptionTable: ExceptionTable = NoExceptionTable, attributes: Attributes = NoAttributes)
Value Members
- def attribute_length: Int
The number of bytes to store the attribute; excluding the index into the constant pool for the name (2 bytes) and the length of the attribute (4 bytes).
The number of bytes to store the attribute; excluding the index into the constant pool for the name (2 bytes) and the length of the attribute (4 bytes).
- Definition Classes
- Code_attribute → Attribute
- def attribute_name(implicit cp: Constant_Pool): String
- Definition Classes
- Attribute
- val attribute_name_index: Constant_Pool_Index
- Definition Classes
- Code_attribute → Attribute
- val attributes: Attributes
- def attributesAsXHTML(implicit cp: Constant_Pool): Seq[Node]
- val code: Code
- val exceptionTable: ExceptionTable
- def exception_handlersAsXHTML(implicit cp: Constant_Pool): NodeSeq
Can only be called if the exception table is non-emtpy!
- val max_locals: Int
- val max_stack: Int
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def size: Int
The number of bytes required to store this attribute; including the index into the constant pool for the name (2 bytes) and the length of the attribute (4 bytes).
The number of bytes required to store this attribute; including the index into the constant pool for the name (2 bytes) and the length of the attribute (4 bytes).
- Definition Classes
- Attribute
- def toXHTML(methodIndex: Int)(implicit cp: Constant_Pool): Node
- def toXHTML(implicit cp: Constant_Pool): Node
- Definition Classes
- Code_attribute → Attribute
- Annotations
- @throws("always")
- See also
toXHTML(Int)(implicit Constant_Pool)