Class CFGHighlighter
- java.lang.Object
-
- com.ensoftcorp.open.commons.highlighter.CFGHighlighter
-
public class CFGHighlighter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Color
cfgBackEdge
static java.awt.Color
cfgDefault
static java.awt.Color
cfgExceptional
static java.awt.Color
cfgFalse
static java.awt.Color
cfgTrue
-
Constructor Summary
Constructors Constructor Description CFGHighlighter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addPrefixLineNumbers(com.ensoftcorp.atlas.core.query.Q q, com.ensoftcorp.atlas.core.markup.Markup m)
Adds line numbers as a prefix to nodesstatic void
applyHighlightsForCFG(com.ensoftcorp.atlas.core.markup.Markup m)
GRAY = Unconditional ControlFlow Edge WHITE = Conditional True ControlFlow Edge BLACK = Conditional False ControlFlow Edge GREEN = Exceptional ControlFlow Edgestatic void
applyHighlightsForICFG(com.ensoftcorp.atlas.core.markup.Markup m)
GRAY = Unconditional ControlFlow Edge WHITE = Conditional True ControlFlow Edge BLACK = Conditional False ControlFlow Edge GREEN = Exceptional ControlFlow Edgestatic void
applyPrintableHighlightsForCFG(com.ensoftcorp.atlas.core.markup.Markup m)
GRAY = Unconditional ControlFlow Edge BLACK (dashed) = Conditional True ControlFlow Edge BLACK = Conditional False ControlFlow Edge BLUE = Exceptional ControlFlow Edge
-
-
-
Method Detail
-
addPrefixLineNumbers
public static void addPrefixLineNumbers(com.ensoftcorp.atlas.core.query.Q q, com.ensoftcorp.atlas.core.markup.Markup m)
Adds line numbers as a prefix to nodes- Parameters:
q
-m
-
-
applyPrintableHighlightsForCFG
public static void applyPrintableHighlightsForCFG(com.ensoftcorp.atlas.core.markup.Markup m)
GRAY = Unconditional ControlFlow Edge BLACK (dashed) = Conditional True ControlFlow Edge BLACK = Conditional False ControlFlow Edge BLUE = Exceptional ControlFlow Edge- Parameters:
m
-
-
applyHighlightsForICFG
public static void applyHighlightsForICFG(com.ensoftcorp.atlas.core.markup.Markup m)
GRAY = Unconditional ControlFlow Edge WHITE = Conditional True ControlFlow Edge BLACK = Conditional False ControlFlow Edge GREEN = Exceptional ControlFlow Edge- Parameters:
m
-
-
applyHighlightsForCFG
public static void applyHighlightsForCFG(com.ensoftcorp.atlas.core.markup.Markup m)
GRAY = Unconditional ControlFlow Edge WHITE = Conditional True ControlFlow Edge BLACK = Conditional False ControlFlow Edge GREEN = Exceptional ControlFlow Edge- Parameters:
m
-
-
-