Packages

final case class InlineInfo(isEffectivelyFinal: Boolean, sam: Option[String], methodInfos: Map[(String, String), MethodInlineInfo], warning: Option[ClassInlineInfoWarning]) extends Product with Serializable

Metadata about a ClassBType, used by the inliner.

More information may be added in the future to enable more elaborate inline heuristics. Note that this class should contain information that can only be obtained from the ClassSymbol. Information that can be computed from the ClassNode should be added to the call graph instead.

isEffectivelyFinal

True if the class cannot have subclasses: final classes, module classes.

sam

If this class is a SAM type, the SAM's "$name$descriptor".

methodInfos

The MethodInlineInfos for the methods declared in this class. The map is indexed by the string s"$name$descriptor" (to disambiguate overloads).

warning

Contains an warning message if an error occurred when building this InlineInfo, for example if some classfile could not be found on the classpath. This warning can be reported later by the inliner.

Source
BTypes.scala
Linear Supertypes
java.io.Serializable, Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InlineInfo
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InlineInfo(isEffectivelyFinal: Boolean, sam: Option[String], methodInfos: Map[(String, String), MethodInlineInfo], warning: Option[ClassInlineInfoWarning])

    isEffectivelyFinal

    True if the class cannot have subclasses: final classes, module classes.

    sam

    If this class is a SAM type, the SAM's "$name$descriptor".

    methodInfos

    The MethodInlineInfos for the methods declared in this class. The map is indexed by the string s"$name$descriptor" (to disambiguate overloads).

    warning

    Contains an warning message if an error occurred when building this InlineInfo, for example if some classfile could not be found on the classpath. This warning can be reported later by the inliner.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from InlineInfo toany2stringadd[InlineInfo] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (InlineInfo, B)
    Implicit
    This member is added by an implicit conversion from InlineInfo toArrowAssoc[InlineInfo] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def ensuring(cond: (InlineInfo) => Boolean, msg: => Any): InlineInfo
    Implicit
    This member is added by an implicit conversion from InlineInfo toEnsuring[InlineInfo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (InlineInfo) => Boolean): InlineInfo
    Implicit
    This member is added by an implicit conversion from InlineInfo toEnsuring[InlineInfo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): InlineInfo
    Implicit
    This member is added by an implicit conversion from InlineInfo toEnsuring[InlineInfo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): InlineInfo
    Implicit
    This member is added by an implicit conversion from InlineInfo toEnsuring[InlineInfo] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from InlineInfo toStringFormat[InlineInfo] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. val isEffectivelyFinal: Boolean
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val methodInfos: Map[(String, String), MethodInlineInfo]
  19. lazy val methodInfosSorted: IndexedSeq[((String, String), MethodInlineInfo)]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val sam: Option[String]
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. val warning: Option[ClassInlineInfoWarning]

Deprecated Value Members

  1. def [B](y: B): (InlineInfo, B)
    Implicit
    This member is added by an implicit conversion from InlineInfo toArrowAssoc[InlineInfo] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromInlineInfo to any2stringadd[InlineInfo]

Inherited by implicit conversion StringFormat fromInlineInfo to StringFormat[InlineInfo]

Inherited by implicit conversion Ensuring fromInlineInfo to Ensuring[InlineInfo]

Inherited by implicit conversion ArrowAssoc fromInlineInfo to ArrowAssoc[InlineInfo]

Ungrouped