Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_Class
- java.lang.Object
-
- ghidra.app.util.bin.format.objc2.ObjectiveC2_Class
-
- All Implemented Interfaces:
StructConverter
public class ObjectiveC2_Class extends java.lang.Object implements StructConverter
-
-
Constructor Summary
Constructors Constructor Description ObjectiveC2_Class(ObjectiveC2_State state, BinaryReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo()
boolean
equals(java.lang.Object that)
ObjectiveC2_Cache
getCache()
ObjectiveC2_ClassRW
getData()
long
getIndex()
ObjectiveC2_Class
getISA()
ObjectiveC2_Class
getSuperClass()
ObjectiveC2_Implementation
getVTable()
int
hashCode()
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectiveC2_Class
public ObjectiveC2_Class(ObjectiveC2_State state, BinaryReader reader)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getISA
public ObjectiveC2_Class getISA()
-
getSuperClass
public ObjectiveC2_Class getSuperClass()
-
getCache
public ObjectiveC2_Cache getCache()
-
getVTable
public ObjectiveC2_Implementation getVTable()
-
getData
public ObjectiveC2_ClassRW getData()
-
getIndex
public long getIndex()
-
toDataType
public DataType toDataType() throws DuplicateNameException, java.io.IOException
Description copied from interface:StructConverter
Returns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }
The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataType
in interfaceStructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsjava.io.IOException
- See Also:
StructureDataType
-
applyTo
public void applyTo() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-