Class StackVariable

java.lang.Object
ai.reveng.model.StackVariable

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class StackVariable extends Object
StackVariable
  • Field Details

  • Constructor Details

    • StackVariable

      public StackVariable()
  • Method Details

    • lastChange

      public StackVariable lastChange(@Nullable String lastChange)
    • getLastChange

      @Nullable public String getLastChange()
      Get lastChange
      Returns:
      lastChange
    • setLastChange

      public void setLastChange(@Nullable String lastChange)
    • offset

      public StackVariable offset(@Nonnull Integer offset)
    • getOffset

      @Nonnull public Integer getOffset()
      Offset of the stack variable
      Returns:
      offset
    • setOffset

      public void setOffset(@Nonnull Integer offset)
    • name

      public StackVariable name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Name of the stack variable
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • type

      public StackVariable type(@Nonnull String type)
    • getType

      @Nonnull public String getType()
      Data type of the stack variable
      Returns:
      type
    • setType

      public void setType(@Nonnull String type)
    • size

      public StackVariable size(@Nonnull Integer size)
    • getSize

      @Nonnull public Integer getSize()
      Size of the stack variable in bytes
      Returns:
      size
    • setSize

      public void setSize(@Nonnull Integer size)
    • addr

      public StackVariable addr(@Nonnull Integer addr)
    • getAddr

      @Nonnull public Integer getAddr()
      Memory address of the stack variable
      Returns:
      addr
    • setAddr

      public void setAddr(@Nonnull Integer addr)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to StackVariable
    • fromJson

      public static StackVariable fromJson(String jsonString) throws IOException
      Create an instance of StackVariable given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of StackVariable
      Throws:
      IOException - if the JSON string is invalid with respect to StackVariable
    • toJson

      public String toJson()
      Convert an instance of StackVariable to an JSON string
      Returns:
      JSON string