Package edu.umd.cs.findbugs
Class CallSite
- java.lang.Object
-
- edu.umd.cs.findbugs.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()
-
-
-
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 sitebasicBlock
- the basic block where the call site is locatedhandle
- 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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-