Packages

c

org.opalj.da

Code_attribute

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
Linear Supertypes
Serializable, Product, Equals, Attribute, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Code_attribute
  2. Serializable
  3. Product
  4. Equals
  5. Attribute
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. 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_attributeAttribute
  2. def attribute_name(implicit cp: Constant_Pool): String
    Definition Classes
    Attribute
  3. val attribute_name_index: Constant_Pool_Index
    Definition Classes
    Code_attributeAttribute
  4. val attributes: Attributes
  5. def attributesAsXHTML(implicit cp: Constant_Pool): Seq[Node]
  6. val code: Code
  7. val exceptionTable: ExceptionTable
  8. def exception_handlersAsXHTML(implicit cp: Constant_Pool): NodeSeq

    Can only be called if the exception table is non-emtpy!

  9. val max_locals: Int
  10. val max_stack: Int
  11. def productElementNames: Iterator[String]
    Definition Classes
    Product
  12. 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
  13. def toXHTML(methodIndex: Int)(implicit cp: Constant_Pool): Node
  14. def toXHTML(implicit cp: Constant_Pool): Node

    Definition Classes
    Code_attributeAttribute
    Annotations
    @throws("always")
    See also

    toXHTML(Int)(implicit Constant_Pool)