InlineInfoAttributePrototype
In order to instruct the ASM framework to deserialize the ScalaInlineInfo attribute, we need to pass a prototype instance when running the class reader.
Attributes
- Graph
-
- Supertypes
-
class InlineInfoAttributetrait Serializabletrait Producttrait Equalsclass Attributeclass Objecttrait Matchableclass AnyShow all
- Self type
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Attribute
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.
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.
Attributes
- Definition Classes
- Inherited from:
- InlineInfoAttribute
An iterator over the names of all the elements of this product.
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
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.
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.
Attributes
- Definition Classes
- Inherited from:
- InlineInfoAttribute
Serialize the inlineInfo into a byte array. Strings are added to the constant pool and serialized as references.
Serialize the inlineInfo into a byte array. Strings are added to the constant pool and serialized as references.
Attributes
- Definition Classes
- Inherited from:
- InlineInfoAttribute