Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_Protocol
- java.lang.Object
-
- ghidra.app.util.bin.format.objc2.ObjectiveC2_Protocol
-
- All Implemented Interfaces:
StructConverter
public class ObjectiveC2_Protocol extends java.lang.Object implements StructConverter
-
-
Constructor Summary
Constructors Constructor Description ObjectiveC2_Protocol(ObjectiveC2_State state, BinaryReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo(Namespace namespace)
ObjectiveC2_MethodList
getClassMethods()
long
getIndex()
ObjectiveC2_MethodList
getInstanceMethods()
ObjectiveC2_PropertyList
getInstanceProperties()
long
getIsa()
java.lang.String
getName()
ObjectiveC2_MethodList
getOptionalClassMethods()
ObjectiveC2_MethodList
getOptionalInstanceMethods()
ObjectiveC2_ProtocolList
getProtocols()
long
getUnknown0()
long
getUnknown1()
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_Protocol
public ObjectiveC2_Protocol(ObjectiveC2_State state, BinaryReader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getIsa
public long getIsa()
-
getName
public java.lang.String getName()
-
getProtocols
public ObjectiveC2_ProtocolList getProtocols()
-
getInstanceMethods
public ObjectiveC2_MethodList getInstanceMethods()
-
getClassMethods
public ObjectiveC2_MethodList getClassMethods()
-
getOptionalInstanceMethods
public ObjectiveC2_MethodList getOptionalInstanceMethods()
-
getOptionalClassMethods
public ObjectiveC2_MethodList getOptionalClassMethods()
-
getInstanceProperties
public ObjectiveC2_PropertyList getInstanceProperties()
-
getUnknown0
public long getUnknown0()
-
getUnknown1
public long getUnknown1()
-
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(Namespace namespace) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-