Class ObjectiveC1_Class
- java.lang.Object
-
- ghidra.app.util.bin.format.objectiveC.ObjectiveC1_Class
-
- All Implemented Interfaces:
StructConverter
public class ObjectiveC1_Class extends java.lang.Object implements StructConverter
-
-
Constructor Summary
Constructors Constructor Description ObjectiveC1_Class(ObjectiveC1_State state, BinaryReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo()
int
getCache()
int
getInfo()
int
getInstanceSize()
ObjectiveC1_InstanceVariableList
getInstanceVariableList()
ObjectiveC1_MetaClass
getISA()
ObjectiveC1_MethodList
getMethodList()
java.lang.String
getName()
ObjectiveC1_ProtocolList
getProtocols()
java.lang.String
getSuperClass()
int
getUnknown0()
int
getUnknown1()
int
getVersion()
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
-
SIZEOF
public static final long SIZEOF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectiveC1_Class
public ObjectiveC1_Class(ObjectiveC1_State state, BinaryReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getISA
public ObjectiveC1_MetaClass getISA()
-
getSuperClass
public java.lang.String getSuperClass()
-
getName
public java.lang.String getName()
-
getVersion
public int getVersion()
-
getInfo
public int getInfo()
-
getInstanceSize
public int getInstanceSize()
-
getInstanceVariableList
public ObjectiveC1_InstanceVariableList getInstanceVariableList()
-
getMethodList
public ObjectiveC1_MethodList getMethodList()
-
getCache
public int getCache()
-
getProtocols
public ObjectiveC1_ProtocolList getProtocols()
-
getUnknown0
public int getUnknown0()
-
getUnknown1
public int getUnknown1()
-
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
-
-