edu.umd.cs.findbugs

Class CallSite

public class CallSite extends Object

The site of a method call.
Constructor Summary
CallSite(Method method, BasicBlock basicBlock, InstructionHandle handle)
Constructor.
Method Summary
BasicBlockgetBasicBlock()
Get the basic block where the call site is located.
InstructionHandlegetHandle()
Get the instruction which performs the call.
LocationgetLocation()
Get the Location (basic block and instruction) where the call site is located.
MethodgetMethod()
Get the method containing the call site.

Constructor Detail

CallSite

public CallSite(Method method, BasicBlock basicBlock, 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

getBasicBlock

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

getHandle

public InstructionHandle getHandle()
Get the instruction which performs the call.

getLocation

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

getMethod

public Method getMethod()
Get the method containing the call site.
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.