Class CallSite

java.lang.Object
edu.umd.cs.findbugs.CallSite

public class CallSite extends 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

    Modifier and Type
    Method
    Description
    boolean
     
    Get the basic block where the call site is located.
    org.apache.bcel.generic.InstructionHandle
    Get the instruction which performs the call.
    Get the Location (basic block and instruction) where the call site is located.
    org.apache.bcel.classfile.Method
    Get the method containing the call site.
    int
     

    Methods inherited from class java.lang.Object

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

    • 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 Details

    • 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 Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object