Interface IVariable

All Superinterfaces:
Comparable<IVariable>, ISegment<Integer>
All Known Subinterfaces:
IEVar

@Ser public interface IVariable extends Comparable<IVariable>, ISegment<Integer>
High-level definition of a variable (aka identifier), generated and used by decompilers.
  • Method Details

    • getBitsize

      int getBitsize()
      Get the variable bit size.
      Returns:
      bit size
    • getName

      String getName()
      Get the variable name.
      Returns:
      variable name
    • getId

      int getId()
      Get the variable id.
      Returns:
      variable id
    • getIds

      Collection<Integer> getIds()
      Get all ids represented by this variable.
      Returns:
      variable ids
    • getBitFromId

      int getBitFromId(int bitId)
      Convert a bit id to a bit index.
      Parameters:
      bitId - bit id
      Returns:
      bit index
    • getIdFromBit

      int getIdFromBit(int bitIndex)
      Convert a bit index to a bit id.
      Parameters:
      bitIndex - bit index
      Returns:
      bit id