Package ghidra.app.decompiler.component
Class NullClangHighlightController
java.lang.Object
ghidra.app.decompiler.component.ClangHighlightController
ghidra.app.decompiler.component.NullClangHighlightController
A stub implementation of the highlight controller that allows clients to avoid null checks
-
Field Summary
Fields inherited from class ghidra.app.decompiler.component.ClangHighlightController
DEFAULT_HIGHLIGHT_COLOR, defaultHighlightColor, defaultParenColor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(ClangHighlightListener listener) void
addPrimaryHighlights
(ClangNode parentNode, ColorProvider colorProvider) void
addPrimaryHighlights
(ClangNode parentNode, Set<PcodeOp> ops, Color highlightColor) void
addPrimaryHighlightToTokensForBrace
(ClangSyntaxToken token, Color highlightColor) void
fieldLocationChanged
(FieldLocation location, Field field, EventTrigger trigger) void
removeListener
(ClangHighlightListener listener) Methods inherited from class ghidra.app.decompiler.component.ClangHighlightController
addHighlighter, addHighlighterHighlights, addPrimaryHighlight, addPrimaryHighlightToTokensForParenthesis, addSecondaryHighlighter, blend, clearPrimaryHighlights, dispose, dummyIfNull, getCombinedColor, getGeneratedColorProvider, getGlobalHighlighters, getHighlightedToken, getHighlighterHighlights, getPrimaryHighlights, getSecondaryHighlight, getSecondaryHighlightColors, getSecondaryHighlighters, getUpdateId, hasContextHighlight, hasSecondaryHighlight, hasSecondaryHighlights, notifyListeners, removeHighlighter, removeHighlighterHighlights, removeSecondaryHighlights, removeSecondaryHighlights, togglePrimaryHighlights
-
Constructor Details
-
NullClangHighlightController
public NullClangHighlightController()
-
-
Method Details
-
fieldLocationChanged
- Specified by:
fieldLocationChanged
in classClangHighlightController
-
addPrimaryHighlights
- Overrides:
addPrimaryHighlights
in classClangHighlightController
-
addPrimaryHighlights
- Overrides:
addPrimaryHighlights
in classClangHighlightController
-
addPrimaryHighlightToTokensForBrace
- Overrides:
addPrimaryHighlightToTokensForBrace
in classClangHighlightController
-
addListener
- Overrides:
addListener
in classClangHighlightController
-
removeListener
- Overrides:
removeListener
in classClangHighlightController
-