Package edu.umd.cs.findbugs
Class CallSite
- java.lang.Object
-
- edu.umd.cs.findbugs.CallSite
-
public class CallSite extends java.lang.ObjectThe 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 booleanequals(java.lang.Object o)BasicBlockgetBasicBlock()Get the basic block where the call site is located.org.apache.bcel.generic.InstructionHandlegetHandle()Get the instruction which performs the call.LocationgetLocation()Get the Location (basic block and instruction) where the call site is located.org.apache.bcel.classfile.MethodgetMethod()Get the method containing the call site.inthashCode()
-
-
-
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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-