Class DisabledDebugInfoProvider
java.lang.Object
ghidra.app.util.bin.format.dwarf.external.DisabledDebugInfoProvider
- All Implemented Interfaces:
DebugInfoProvider
Wrapper around a DebugInfoProvider that prevents it from being queried, but retains it in the
configuration list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DebugInfoProvidercreate(String name, DebugInfoProviderCreatorContext context) Factory method to create new instances from a name string.Returns a human formatted string describing this provider, used in UI prompts or lists.getName()Returns the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data".getStatus(TaskMonitor monitor) Returns DebugInfoProviderStatus representing this provider's current status.static booleanPredicate that tests if the name string is an instance of a disabled name.
-
Constructor Details
-
DisabledDebugInfoProvider
-
-
Method Details
-
matches
Predicate that tests if the name string is an instance of a disabled name.- Parameters:
name- string- Returns:
- boolean true if the string should be handled by the DisabledSymbolServer class
-
create
Factory method to create new instances from a name string.- Parameters:
name- string, earlier returned fromgetName()context-DebugInfoProviderCreatorContextto allow accessing information outside of the name string that might be needed to create a new instance- Returns:
- new instance, or null if invalid name string
-
getName
Description copied from interface:DebugInfoProviderReturns the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data".- Specified by:
getNamein interfaceDebugInfoProvider- Returns:
- the name of this instance, which should be a serialized copy of this instance, typically like "something://serialized_data"
-
getDescriptiveName
Description copied from interface:DebugInfoProviderReturns a human formatted string describing this provider, used in UI prompts or lists.- Specified by:
getDescriptiveNamein interfaceDebugInfoProvider- Returns:
- a human formatted string describing this provider, used in UI prompts or lists
-
getDelegate
-
getStatus
Description copied from interface:DebugInfoProviderReturns DebugInfoProviderStatus representing this provider's current status.- Specified by:
getStatusin interfaceDebugInfoProvider- Parameters:
monitor-TaskMonitor- Returns:
- DebugInfoProviderStatus representing this provider's current status
-