Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Compil3r.Quad
Class ProgramLocation  view ProgramLocation download ProgramLocation.java

java.lang.Object
  extended byCompil3r.Quad.ProgramLocation
Direct Known Subclasses:
ProgramLocation.BCProgramLocation, ProgramLocation.QuadProgramLocation, ProgramLocation.SSAProgramLocation

public abstract class ProgramLocation
extends java.lang.Object

This class combines a jq_Method with a Quad to represent a location in the code. This is useful for interprocedural analysis.

Version:
$Id: ProgramLocation.java,v 1.23 2003/08/03 12:32:34 joewhaley Exp $

Nested Class Summary
static class ProgramLocation.BCProgramLocation
           
static class ProgramLocation.QuadProgramLocation
           
static class ProgramLocation.SSAProgramLocation
           
 
Field Summary
protected  Compil3r.Quad.AndersenInterface.AndersenMethod m
           
 
Constructor Summary
ProgramLocation(Compil3r.Quad.AndersenInterface.AndersenMethod m)
           
 
Method Summary
abstract  int getBytecodeIndex()
           
abstract  Compil3r.BytecodeAnalysis.CallTargets getCallTargets()
           
 Compil3r.BytecodeAnalysis.CallTargets getCallTargets(Compil3r.Quad.AndersenInterface.AndersenMethod target, MethodSummary.Node n)
           
abstract  Compil3r.BytecodeAnalysis.CallTargets getCallTargets(Compil3r.Quad.AndersenInterface.AndersenReference klass, boolean exact)
           
 Compil3r.BytecodeAnalysis.CallTargets getCallTargets(java.util.Set nodes)
           
abstract  Compil3r.BytecodeAnalysis.CallTargets getCallTargets(java.util.Set receiverTypes, boolean exact)
           
abstract  int getID()
           
abstract  int getLineNumber()
           
 Compil3r.Quad.AndersenInterface.AndersenMethod getMethod()
           
abstract  int getNumParams()
           
abstract  Compil3r.Quad.AndersenInterface.AndersenType getParamType(int i)
           
abstract  UTF.Utf8 getSourceFile()
           
abstract  Compil3r.Quad.AndersenInterface.AndersenMethod getTargetMethod()
           
abstract  boolean isInterfaceCall()
           
abstract  boolean isSingleTarget()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m

protected final Compil3r.Quad.AndersenInterface.AndersenMethod m
Constructor Detail

ProgramLocation

public ProgramLocation(Compil3r.Quad.AndersenInterface.AndersenMethod m)
Method Detail

getMethod

public Compil3r.Quad.AndersenInterface.AndersenMethod getMethod()

getNumParams

public abstract int getNumParams()

getParamType

public abstract Compil3r.Quad.AndersenInterface.AndersenType getParamType(int i)

getSourceFile

public abstract UTF.Utf8 getSourceFile()

getLineNumber

public abstract int getLineNumber()

getID

public abstract int getID()

getBytecodeIndex

public abstract int getBytecodeIndex()

isSingleTarget

public abstract boolean isSingleTarget()

isInterfaceCall

public abstract boolean isInterfaceCall()

getTargetMethod

public abstract Compil3r.Quad.AndersenInterface.AndersenMethod getTargetMethod()

getCallTargets

public abstract Compil3r.BytecodeAnalysis.CallTargets getCallTargets()

getCallTargets

public abstract Compil3r.BytecodeAnalysis.CallTargets getCallTargets(Compil3r.Quad.AndersenInterface.AndersenReference klass,
                                                                     boolean exact)

getCallTargets

public abstract Compil3r.BytecodeAnalysis.CallTargets getCallTargets(java.util.Set receiverTypes,
                                                                     boolean exact)

getCallTargets

public Compil3r.BytecodeAnalysis.CallTargets getCallTargets(Compil3r.Quad.AndersenInterface.AndersenMethod target,
                                                            MethodSummary.Node n)

getCallTargets

public Compil3r.BytecodeAnalysis.CallTargets getCallTargets(java.util.Set nodes)