Package ghidra.program.model.data
Class DefaultAnnotationHandler
java.lang.Object
ghidra.program.model.data.DefaultAnnotationHandler
- All Implemented Interfaces:
AnnotationHandler,ExtensionPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the specific handlerString[]Returns an array of known extensions for the output file type.Returns the name of the C-like language that this handler supportsgetPrefix(Composite c, DataTypeComponent dtc) Returns the prefix for type CompositeReturns the prefix for type EnumgetSuffix(Composite c, DataTypeComponent dtc) Returns the suffix for type CompositeReturns the suffix for type EnumtoString()Returns a string description of this handler.
-
Constructor Details
-
DefaultAnnotationHandler
public DefaultAnnotationHandler()
-
-
Method Details
-
getPrefix
Description copied from interface:AnnotationHandlerReturns the prefix for type Enum- Specified by:
getPrefixin interfaceAnnotationHandler- Parameters:
e- the Enum datatypemember- the name of the member of the Enum- Returns:
- the prefix for type Enum
-
getSuffix
Description copied from interface:AnnotationHandlerReturns the suffix for type Enum- Specified by:
getSuffixin interfaceAnnotationHandler- Parameters:
e- the Enum datatypemember- the name of the member of the Enum- Returns:
- the suffix for type Enum
-
getPrefix
Description copied from interface:AnnotationHandlerReturns the prefix for type Composite- Specified by:
getPrefixin interfaceAnnotationHandler- Parameters:
c- the Composite datatypedtc- the name of the member of the Composite- Returns:
- the prefix for type Composite
-
getSuffix
Description copied from interface:AnnotationHandlerReturns the suffix for type Composite- Specified by:
getSuffixin interfaceAnnotationHandler- Parameters:
c- the Composite datatypedtc- the name of the member of the Composite- Returns:
- the suffix for type Composite
-
getDescription
Description copied from interface:AnnotationHandlerReturns the description of the specific handler- Specified by:
getDescriptionin interfaceAnnotationHandler- Returns:
- the description of the specific handler
-
getLanguageName
Description copied from interface:AnnotationHandlerReturns the name of the C-like language that this handler supports- Specified by:
getLanguageNamein interfaceAnnotationHandler- Returns:
- the name of the C-like language that this handler supports
-
getFileExtensions
Description copied from interface:AnnotationHandlerReturns an array of known extensions for the output file type. If no extensions are preferred, the an empty array should be returned.- Specified by:
getFileExtensionsin interfaceAnnotationHandler- Returns:
- an array of known extensions for the output file type.
-
toString
Description copied from interface:AnnotationHandlerReturns a string description of this handler.- Specified by:
toStringin interfaceAnnotationHandler- Overrides:
toStringin classObject- Returns:
- a string description of this handler
-