Interface AnnotationHandler

  • All Superinterfaces:
    ExtensionPoint
    All Known Implementing Classes:
    DefaultAnnotationHandler

    public interface AnnotationHandler
    extends ExtensionPoint
    NOTE: ALL AnnotationHandler CLASSES MUST END IN "AnnotationHandler". If not, the ClassSearcher will not find them. AnnotationHandlers provide prefix/suffix information for various datatypes for specific C-like languages.
    • Method Detail

      • getPrefix

        java.lang.String getPrefix​(Enum e,
                                   java.lang.String member)
        Returns the prefix for type Enum
        Parameters:
        e - the Enum datatype
        member - the name of the member of the Enum
        Returns:
        the prefix for type Enum
      • getSuffix

        java.lang.String getSuffix​(Enum e,
                                   java.lang.String member)
        Returns the suffix for type Enum
        Parameters:
        e - the Enum datatype
        member - the name of the member of the Enum
        Returns:
        the suffix for type Enum
      • getPrefix

        java.lang.String getPrefix​(Composite c,
                                   DataTypeComponent dtc)
        Returns the prefix for type Composite
        Parameters:
        c - the Composite datatype
        dtc - the name of the member of the Composite
        Returns:
        the prefix for type Composite
      • getSuffix

        java.lang.String getSuffix​(Composite c,
                                   DataTypeComponent dtc)
        Returns the suffix for type Composite
        Parameters:
        c - the Composite datatype
        dtc - the name of the member of the Composite
        Returns:
        the suffix for type Composite
      • getDescription

        java.lang.String getDescription()
        Returns the description of the specific handler
        Returns:
        the description of the specific handler
      • getLanguageName

        java.lang.String getLanguageName()
        Returns the name of the C-like language that this handler supports
        Returns:
        the name of the C-like language that this handler supports
      • getFileExtensions

        java.lang.String[] getFileExtensions()
        Returns an array of known extensions for the output file type. If no extensions are preferred, the an empty array should be returned.
        Returns:
        an array of known extensions for the output file type.
      • toString

        java.lang.String toString()
        Returns a string description of this handler.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string description of this handler