|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.uci.eecs.doc.cascade.graph.VertexLabelProvider
public class VertexLabelProvider
Generates descriptive labels for vertices in a control flow graph.
Constructor Summary | |
---|---|
VertexLabelProvider(VertexNameProvider<Vertex> idProvider)
Creates a new VertexLabelProvider object using the given ID provider as a backup. |
Method Summary | |
---|---|
String |
getVertexAsHTML(Vertex vertex)
Returns an HTML representation of the vertex label, |
String |
getVertexName(Vertex vertex)
Generates a label corresponding to the given vertex of a control flow graph. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VertexLabelProvider(VertexNameProvider<Vertex> idProvider)
idProvider
- a provider of vertex IDsMethod Detail |
---|
public String getVertexName(Vertex vertex)
showInstructions
is enabled, a list of the vertex's bytecode
instructions.
getVertexName
in interface VertexNameProvider<Vertex>
vertex
- a vertex in the control flow graph
public String getVertexAsHTML(Vertex vertex)
vertex
- the vertex to be converted to HTML format
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |