Class CallSite


  • public class CallSite
    extends java.lang.Object
    The site of a method call.
    • Constructor Summary

      Constructors 
      Constructor Description
      CallSite​(org.apache.bcel.classfile.Method method, BasicBlock basicBlock, org.apache.bcel.generic.InstructionHandle handle)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      BasicBlock getBasicBlock()
      Get the basic block where the call site is located.
      org.apache.bcel.generic.InstructionHandle getHandle()
      Get the instruction which performs the call.
      Location getLocation()
      Get the Location (basic block and instruction) where the call site is located.
      org.apache.bcel.classfile.Method getMethod()
      Get the method containing the call site.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CallSite

        public CallSite​(org.apache.bcel.classfile.Method method,
                        BasicBlock basicBlock,
                        org.apache.bcel.generic.InstructionHandle handle)
        Constructor.
        Parameters:
        method - the method containing the call site
        basicBlock - the basic block where the call site is located
        handle - the instruction which performs the call
    • Method Detail

      • getMethod

        public org.apache.bcel.classfile.Method getMethod()
        Get the method containing the call site.
      • getLocation

        public Location getLocation()
        Get the Location (basic block and instruction) where the call site is located.
      • getBasicBlock

        public BasicBlock getBasicBlock()
        Get the basic block where the call site is located.
      • getHandle

        public org.apache.bcel.generic.InstructionHandle getHandle()
        Get the instruction which performs the call.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object