@staticmethod
def fromStr(x: str) -> FileSectionType:
    if (x == '.text'):
        return FileSectionType.Text
    if (x == '.data'):
        return FileSectionType.Data
    if (x == '.rodata'):
        return FileSectionType.Rodata
    if (x == '.bss'):
        return FileSectionType.Bss
    if (x == '.reloc'):
        return FileSectionType.Reloc
    return FileSectionType.Invalid
@staticmethod
def fromStr(x: str) -> FileSectionType:
    if (x == '.text'):
        return FileSectionType.Text
    if (x == '.data'):
        return FileSectionType.Data
    if (x == '.rodata'):
        return FileSectionType.Rodata
    if (x == '.bss'):
        return FileSectionType.Bss
    if (x == '.reloc'):
        return FileSectionType.Reloc
    return FileSectionType.Invalid