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.
- Alphabetic
- By Inheritance
- InlineInfoAttributePrototype
- InlineInfoAttribute
- Serializable
- Serializable
- Product
- Equals
- Attribute
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getLabels(): Array[Label]
- Attributes
- protected[asm]
- Definition Classes
- Attribute
-
val
inlineInfo: InlineInfo
- Definition Classes
- InlineInfoAttribute
-
def
isCodeAttribute(): Boolean
- Definition Classes
- Attribute
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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 invokecr.readUTF8
.- Definition Classes
- InlineInfoAttribute → Attribute
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
The Scala compiler and reflection APIs.