Package edu.umd.cs.findbugs.ba.ch
Class InterproceduralCallGraph
- java.lang.Object
-
- edu.umd.cs.findbugs.graph.AbstractGraph<InterproceduralCallGraphEdge,InterproceduralCallGraphVertex>
-
- edu.umd.cs.findbugs.ba.ch.InterproceduralCallGraph
-
- All Implemented Interfaces:
Graph<InterproceduralCallGraphEdge,InterproceduralCallGraphVertex>
@Deprecated public class InterproceduralCallGraph extends AbstractGraph<InterproceduralCallGraphEdge,InterproceduralCallGraphVertex>
Deprecated.Class representing the interprocedural call graph. Vertices represent methods. Edges represent method calls.- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description InterproceduralCallGraph()
Deprecated.Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addVertex(InterproceduralCallGraphVertex v)
Deprecated.Add given vertex to the graph.protected InterproceduralCallGraphEdge
allocateEdge(InterproceduralCallGraphVertex source, InterproceduralCallGraphVertex target)
Deprecated.InterproceduralCallGraphVertex
lookupVertex(MethodDescriptor methodDesc)
Deprecated.Look up vertex corresponding to given method.-
Methods inherited from class edu.umd.cs.findbugs.graph.AbstractGraph
containsVertex, createEdge, edgeIterator, getNumEdgeLabels, getNumEdges, getNumIncomingEdges, getNumOutgoingEdges, getNumVertexLabels, getNumVertices, incomingEdgeIterator, lookupEdge, outgoingEdgeIterator, predecessorIterator, removeEdge, removeVertex, setNumEdgeLabels, setNumVertexLabels, successorIterator, vertexIterator, vertices
-
-
-
-
Method Detail
-
addVertex
public void addVertex(InterproceduralCallGraphVertex v)
Deprecated.Description copied from interface:Graph
Add given vertex to the graph. The vertex should not be part of any other graph.- Specified by:
addVertex
in interfaceGraph<InterproceduralCallGraphEdge,InterproceduralCallGraphVertex>
- Overrides:
addVertex
in classAbstractGraph<InterproceduralCallGraphEdge,InterproceduralCallGraphVertex>
- Parameters:
v
- the vertex to add
-
lookupVertex
public InterproceduralCallGraphVertex lookupVertex(MethodDescriptor methodDesc)
Deprecated.Look up vertex corresponding to given method.- Parameters:
methodDesc
- a MethodDescriptor specifying a method- Returns:
- the InterproceduralCallGraphVertex representing that method, or null if no such vertex exists
-
allocateEdge
protected InterproceduralCallGraphEdge allocateEdge(InterproceduralCallGraphVertex source, InterproceduralCallGraphVertex target)
Deprecated.- Specified by:
allocateEdge
in classAbstractGraph<InterproceduralCallGraphEdge,InterproceduralCallGraphVertex>
-
-