Package ghidra.program.model.util
Class DataTypeInfo
- java.lang.Object
-
- ghidra.program.model.util.DataTypeInfo
-
- Direct Known Subclasses:
CompositeDataTypeElementInfo
public class DataTypeInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
dataTypeAlignment
protected java.lang.Object
dataTypeHandle
protected int
dataTypeLength
-
Constructor Summary
Constructors Constructor Description DataTypeInfo(java.lang.Object dataTypeHandle, int dataTypeLength, int dataTypeAlignment)
Constructor for DataTypeInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getDataTypeAlignment()
java.lang.Object
getDataTypeHandle()
int
getDataTypeLength()
int
hashCode()
-
-
-
Constructor Detail
-
DataTypeInfo
public DataTypeInfo(java.lang.Object dataTypeHandle, int dataTypeLength, int dataTypeAlignment)
Constructor for DataTypeInfo.- Parameters:
dataTypeHandle
- any Object providing identity for this data typedataTypeLength
- the length of the data typedataTypeAlignment
- the alignment of the data type
-
-
Method Detail
-
getDataTypeHandle
public java.lang.Object getDataTypeHandle()
-
getDataTypeLength
public int getDataTypeLength()
-
getDataTypeAlignment
public int getDataTypeAlignment()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-