| 54 | public static final Color LIGHT_RED = new Color(244, 213, 211); |
| 55 | |
| 56 | public static class DefaultTreeTextProvider implements TreeTextProvider { |
| 57 | private final List<String> ruleNames; |
| 58 | |
| 59 | public DefaultTreeTextProvider(List<String> ruleNames) { |
| 60 | this.ruleNames = ruleNames; |
| 61 | } |
| 62 | |
| 63 | @Override |
| 64 | public String getText(Tree node) { |
| 65 | return String.valueOf(Trees.getNodeText(node, ruleNames)); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | public static class VariableExtentProvide implements NodeExtentProvider<Tree> { |
| 70 | TreeViewer viewer; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…