Enum Class SwiftSection

java.lang.Object
java.lang.Enum<SwiftSection>
ghidra.app.util.bin.format.swift.SwiftSection
All Implemented Interfaces:
Serializable, Comparable<SwiftSection>, Constable

public enum SwiftSection extends Enum<SwiftSection>
Used to refer to a Swift section, which can have different names depending on the platform
See Also:
  • Enum Constant Details

    • BLOCK_FIELDMD

      public static final SwiftSection BLOCK_FIELDMD
    • BLOCK_ASSOCTY

      public static final SwiftSection BLOCK_ASSOCTY
    • BLOCK_BUILTIN

      public static final SwiftSection BLOCK_BUILTIN
    • BLOCK_CAPTURE

      public static final SwiftSection BLOCK_CAPTURE
    • BLOCK_TYPEREF

      public static final SwiftSection BLOCK_TYPEREF
    • BLOCK_REFLSTR

      public static final SwiftSection BLOCK_REFLSTR
    • BLOCK_CONFORM

      public static final SwiftSection BLOCK_CONFORM
    • BLOCK_PROTOCS

      public static final SwiftSection BLOCK_PROTOCS
    • BLOCK_ACFUNCS

      public static final SwiftSection BLOCK_ACFUNCS
    • BLOCK_MPENUM

      public static final SwiftSection BLOCK_MPENUM
    • BLOCK_TYPES

      public static final SwiftSection BLOCK_TYPES
    • BLOCK_ENTRY

      public static final SwiftSection BLOCK_ENTRY
    • BLOCK_SWIFTAST

      public static final SwiftSection BLOCK_SWIFTAST
  • Method Details

    • values

      public static SwiftSection[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SwiftSection valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSwiftSectionNames

      public List<String> getSwiftSectionNames()
      Gets a List of the SwiftSection's names
      Returns:
      A List of the SwiftSection's names