KnownCallsite

dotty.tools.backend.jvm.opt.KnownCallsite
final case class KnownCallsite(callsiteInstruction: MethodInsnNode, callsiteMethod: MethodNode, callsiteClass: ClassBType, callee: Callee, argInfos: IntMap[ArgInfo], callsiteStackHeight: Int, receiverKnownNotNull: Boolean, callsitePosition: SourcePosition, annotatedInline: Boolean, annotatedNoInline: Boolean) extends Callsite

A callsite in the call graph.

Value parameters

argInfos

Information about the invocation receiver and arguments

callee

The callee, as it appears in the invocation instruction. For virtual calls, an override of the callee might be invoked. Also, the callee can be abstract. Contains a warning message if the callee MethodNode cannot be found in the bytecode repository.

callsiteClass

The class containing the callsite

callsiteInstruction

The invocation instruction

callsiteMethod

The method containing the callsite

callsitePosition

The source position of the callsite, used for inliner warnings.

callsiteStackHeight

The stack height at the callsite, required by the inliner

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Callsite
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
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