Build the InlineInfo for a class. For Scala classes, the information is stored in the ScalaInlineInfo attribute. If the attribute is missing, the InlineInfo is built using the metadata available in the classfile (ACC_FINAL flags, etc.).
Build the InlineInfo for a class. For Scala classes, the information is stored in the ScalaInlineInfo attribute. If the attribute is missing, the InlineInfo is built using the metadata available in the classfile (ACC_FINAL flags, etc.).
Note that the InlineInfo is only built from the symbolic information for classes that are being compiled. For all other classes we delegate to inlineInfoFromClassfile. The reason is that mixed-in methods are only added to class symbols being compiled, but not to other classes extending traits. Creating the InlineInfo from the symbol would prevent these mixins from being inlined.
So for classes being compiled, the InlineInfo is created here and stored in the ScalaInlineInfo classfile attribute.