Packages

o

scala.tools.nsc.backend.jvm.opt

InlineInfoAttributePrototype

object InlineInfoAttributePrototype extends InlineInfoAttribute

In order to instruct the ASM framework to deserialize the ScalaInlineInfo attribute, we need to pass a prototype instance when running the class reader.

Source
InlineInfoAttribute.scala
Linear Supertypes
InlineInfoAttribute, Serializable, java.io.Serializable, Product, Equals, Attribute, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InlineInfoAttributePrototype
  2. InlineInfoAttribute
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. Attribute
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  9. def getLabels(): Array[Label]
    Attributes
    protected[scala.tools.asm]
    Definition Classes
    Attribute
  10. val inlineInfo: InlineInfo
    Definition Classes
    InlineInfoAttribute
  11. def isCodeAttribute(): Boolean
    Definition Classes
    Attribute
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isUnknown(): Boolean

    Not sure what this method is good for, it is not invoked anywhere in the ASM framework.

    Not sure what this method is good for, it is not invoked anywhere in the ASM framework. However, the example in the ASM manual also overrides it to false for custom attributes, so it might be a good idea.

    Definition Classes
    InlineInfoAttribute → Attribute
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. def read(cr: ClassReader, off: Int, len: Int, buf: Array[Char], codeOff: Int, labels: Array[Label]): InlineInfoAttribute

    Deserialize the attribute into an InlineInfo.

    Deserialize the attribute into an InlineInfo. The attribute starts at cr.b(off), but we don't need to access that array directly, we can use the read methods provided by the ClassReader.

    buf is a pre-allocated character array that is guaranteed to be long enough to hold any string of the constant pool. So we can use it to invoke cr.readUTF8.

    Definition Classes
    InlineInfoAttribute → Attribute
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def write(cw: ClassWriter, code: Array[Byte], len: Int, maxStack: Int, maxLocals: Int): ByteVector

    Serialize the inlineInfo into a byte array.

    Serialize the inlineInfo into a byte array. Strings are added to the constant pool and serialized as references.

    Definition Classes
    InlineInfoAttribute → Attribute

Inherited from InlineInfoAttribute

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from Attribute

Inherited from AnyRef

Inherited from Any

Ungrouped