Package ghidra.program.model.data
Class DefaultAnnotationHandler
java.lang.Object
ghidra.program.model.data.DefaultAnnotationHandler
- All Implemented Interfaces:
AnnotationHandler
,ExtensionPoint
-
Constructor Summary
-
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:AnnotationHandler
Returns the prefix for type Enum- Specified by:
getPrefix
in 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:AnnotationHandler
Returns the suffix for type Enum- Specified by:
getSuffix
in 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:AnnotationHandler
Returns the prefix for type Composite- Specified by:
getPrefix
in 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:AnnotationHandler
Returns the suffix for type Composite- Specified by:
getSuffix
in 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:AnnotationHandler
Returns the description of the specific handler- Specified by:
getDescription
in interfaceAnnotationHandler
- Returns:
- the description of the specific handler
-
getLanguageName
Description copied from interface:AnnotationHandler
Returns the name of the C-like language that this handler supports- Specified by:
getLanguageName
in interfaceAnnotationHandler
- Returns:
- the name of the C-like language that this handler supports
-
getFileExtensions
Description copied from interface:AnnotationHandler
Returns an array of known extensions for the output file type. If no extensions are preferred, the an empty array should be returned.- Specified by:
getFileExtensions
in interfaceAnnotationHandler
- Returns:
- an array of known extensions for the output file type.
-
toString
Description copied from interface:AnnotationHandler
Returns a string description of this handler.- Specified by:
toString
in interfaceAnnotationHandler
- Overrides:
toString
in classObject
- Returns:
- a string description of this handler
-