Object/Class

org.opalj.br

Code

Related Docs: class Code | package br

Permalink

object Code

Defines constants useful when analyzing a method's code.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Code
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val BasicClassHierarchy: ClassHierarchy

    Permalink

    Used to determine the potential handlers in case that an exception is thrown by an instruction.

  5. final val KindId: Int(6)

    Permalink

    The unique id associated with attributes of kind: Code.

    The unique id associated with attributes of kind: Code.

    KindIds can be used for efficient branching on attributes.

  6. def apply(maxStack: Int, maxLocals: Int, instructions: Array[Instruction], exceptionHandlers: ExceptionHandlers = IndexedSeq.empty, attributes: Attributes = IndexedSeq.empty): Code

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def computeMaxLocals(isInstanceMethod: Boolean, descriptor: MethodDescriptor, instructions: Array[Instruction]): Int

    Permalink
  10. def computeMaxLocalsRequiredByCode(instructions: Array[Instruction]): Int

    Permalink

    The maximum number of registers required to execute the code - independent of the number of parameters.

    The maximum number of registers required to execute the code - independent of the number of parameters.

    Note

    The method's descriptor may actually require

  11. def computeMaxStack(instructions: Array[Instruction], classHierarchy: ClassHierarchy = ..., exceptionHandlers: ExceptionHandlers = IndexedSeq.empty): Int

    Permalink

    Computes the maximum stack size required during execution of this code block.

    Computes the maximum stack size required during execution of this code block.

    Annotations
    @throws( ... )
    Exceptions thrown

    java.lang.ClassFormatError If the stack size differs between execution paths.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def unapply(code: Code): Option[(Int, Int, Array[Instruction], ExceptionHandlers, Attributes)]

    Permalink
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped