Class InheritanceGraph
java.lang.Object
edu.umd.cs.findbugs.graph.AbstractGraph<InheritanceEdge, ClassVertex>
edu.umd.cs.findbugs.ba.ch.InheritanceGraph
- All Implemented Interfaces:
Graph<InheritanceEdge, ClassVertex>
Graph of inheritance relationships.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InheritanceEdgeallocateEdge(ClassVertex source, ClassVertex target) createEdge(ClassVertex source, ClassVertex target) Add a new edge to the graph.Methods inherited from class AbstractGraph
addVertex, containsVertex, edgeIterator, getNumEdgeLabels, getNumEdges, getNumIncomingEdges, getNumOutgoingEdges, getNumVertexLabels, getNumVertices, incomingEdgeIterator, lookupEdge, outgoingEdgeIterator, predecessorIterator, removeEdge, removeVertex, setNumEdgeLabels, setNumVertexLabels, successorIterator, vertexIterator, vertices
-
Constructor Details
-
InheritanceGraph
public InheritanceGraph()
-
-
Method Details
-
allocateEdge
- Specified by:
allocateEdgein classAbstractGraph<InheritanceEdge, ClassVertex>
-
createEdge
Description copied from interface:GraphAdd a new edge to the graph. Duplicate edges (with same source and target vertices) are allowed.- Specified by:
createEdgein interfaceGraph<InheritanceEdge, ClassVertex>- Overrides:
createEdgein classAbstractGraph<InheritanceEdge, ClassVertex>- Parameters:
source- the source vertextarget- the target vertex- Returns:
- the new edge
-