FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba.ch
Class InheritanceGraph

java.lang.Object
  extended by edu.umd.cs.findbugs.graph.AbstractGraph<InheritanceEdge,edu.umd.cs.findbugs.ba.ch.ClassVertex>
      extended by edu.umd.cs.findbugs.ba.ch.InheritanceGraph
All Implemented Interfaces:
Graph<InheritanceEdge,edu.umd.cs.findbugs.ba.ch.ClassVertex>

public class InheritanceGraph
extends AbstractGraph<InheritanceEdge,edu.umd.cs.findbugs.ba.ch.ClassVertex>

Graph of inheritance relationships.

Author:
David Hovemeyer

Constructor Summary
InheritanceGraph()
           
 
Method Summary
protected  InheritanceEdge allocateEdge(edu.umd.cs.findbugs.ba.ch.ClassVertex source, edu.umd.cs.findbugs.ba.ch.ClassVertex target)
           
 InheritanceEdge createEdge(edu.umd.cs.findbugs.ba.ch.ClassVertex source, edu.umd.cs.findbugs.ba.ch.ClassVertex target)
          Add a new edge to the graph.
 
Methods inherited from class edu.umd.cs.findbugs.graph.AbstractGraph
addVertex, containsVertex, edgeIterator, getNumEdgeLabels, getNumEdges, getNumIncomingEdges, getNumOutgoingEdges, getNumVertexLabels, getNumVertices, incomingEdgeIterator, lookupEdge, outgoingEdgeIterator, predecessorIterator, removeEdge, removeVertex, setNumEdgeLabels, setNumVertexLabels, successorIterator, vertexIterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InheritanceGraph

public InheritanceGraph()
Method Detail

allocateEdge

protected InheritanceEdge allocateEdge(edu.umd.cs.findbugs.ba.ch.ClassVertex source,
                                       edu.umd.cs.findbugs.ba.ch.ClassVertex target)
Specified by:
allocateEdge in class AbstractGraph<InheritanceEdge,edu.umd.cs.findbugs.ba.ch.ClassVertex>

createEdge

public InheritanceEdge createEdge(edu.umd.cs.findbugs.ba.ch.ClassVertex source,
                                  edu.umd.cs.findbugs.ba.ch.ClassVertex target)
Description copied from interface: Graph
Add a new edge to the graph. Duplicate edges (with same source and target vertices) are allowed.

Specified by:
createEdge in interface Graph<InheritanceEdge,edu.umd.cs.findbugs.ba.ch.ClassVertex>
Overrides:
createEdge in class AbstractGraph<InheritanceEdge,edu.umd.cs.findbugs.ba.ch.ClassVertex>
Parameters:
source - the source vertex
target - the target vertex
Returns:
the new edge

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.