final case class Callsite(callsiteInstruction: MethodInsnNode, callsiteMethod: MethodNode, callsiteClass: ClassBType, callee: Either[OptimizerWarning, Callee], argInfos: IntMap[ArgInfo], callsiteStackHeight: Int, receiverKnownNotNull: Boolean, callsitePosition: Position, annotatedInline: Boolean, annotatedNoInline: Boolean) extends Product with Serializable
A callsite in the call graph.
- callsiteInstruction
The invocation instruction
- callsiteMethod
The method containing the callsite
- callsiteClass
The class containing the callsite
- 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.
- argInfos
Information about the invocation receiver and arguments
- callsiteStackHeight
The stack height at the callsite, required by the inliner
- callsitePosition
The source position of the callsite, used for inliner warnings.
- Source
- CallGraph.scala
- Alphabetic
- By Inheritance
- Callsite
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Callsite(callsiteInstruction: MethodInsnNode, callsiteMethod: MethodNode, callsiteClass: ClassBType, callee: Either[OptimizerWarning, Callee], argInfos: IntMap[ArgInfo], callsiteStackHeight: Int, receiverKnownNotNull: Boolean, callsitePosition: Position, annotatedInline: Boolean, annotatedNoInline: Boolean)
- callsiteInstruction
The invocation instruction
- callsiteMethod
The method containing the callsite
- callsiteClass
The class containing the callsite
- 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.
- argInfos
Information about the invocation receiver and arguments
- callsiteStackHeight
The stack height at the callsite, required by the inliner
- callsitePosition
The source position of the callsite, used for inliner warnings.
Value Members
- val annotatedInline: Boolean
- val annotatedNoInline: Boolean
- val argInfos: IntMap[ArgInfo]
- val callee: Either[OptimizerWarning, Callee]
- val callsiteClass: ClassBType
- val callsiteInstruction: MethodInsnNode
- val callsiteMethod: MethodNode
- val callsitePosition: Position
- val callsiteStackHeight: Int
-
val
inlinedClones: Set[ClonedCallsite]
Contains callsites that were created during inlining by cloning this callsite.
Contains callsites that were created during inlining by cloning this callsite. Used to find corresponding callsites when inlining post-inline requests.
- def isInlineAnnotated: Boolean
- def isNoInlineAnnotated: Boolean
- val receiverKnownNotNull: Boolean
-
def
toString(): String
- Definition Classes
- Callsite → AnyRef → Any
The Scala compiler and reflection APIs.