Package ghidra.program.model.util

# Class DataTypeInfo

java.lang.Object
ghidra.program.model.util.DataTypeInfo

Direct Known Subclasses:
  `CompositeDataTypeElementInfo`

public class DataTypeInfo extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final int`
  `dataTypeAlignment`
  `protected final Object`
  `dataTypeHandle`
  `protected final int`
  `dataTypeLength`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataTypeInfo(Object dataTypeHandle, int dataTypeLength, int dataTypeAlignment)`
  Constructor for DataTypeInfo.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `int`
  `getDataTypeAlignment()`
  `Object`
  `getDataTypeHandle()`
  `int`
  `getDataTypeLength()`
  `int`
  `hashCode()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### dataTypeHandle

    protected final Object dataTypeHandle

  - ### dataTypeLength

    protected final int dataTypeLength

  - ### dataTypeAlignment

    protected final int dataTypeAlignment

- ## Constructor Details

  - ### DataTypeInfo

    public DataTypeInfo(Object dataTypeHandle, int dataTypeLength, int dataTypeAlignment)
    Constructor for DataTypeInfo.
    Parameters:
      `dataTypeHandle` - any Object providing identity for this data type
      `dataTypeLength` - the length of the data type
      `dataTypeAlignment` - the alignment of the data type

- ## Method Details

  - ### getDataTypeHandle

    public Object getDataTypeHandle()

  - ### getDataTypeLength

    public int getDataTypeLength()

  - ### getDataTypeAlignment

    public int getDataTypeAlignment()

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`