Package ghidra.app.util.bin.format.objc2
Class ObjectiveC2_Method
- java.lang.Object
-
- ghidra.app.util.bin.format.objectiveC.ObjectiveC_Method
-
- ghidra.app.util.bin.format.objc2.ObjectiveC2_Method
-
- All Implemented Interfaces:
StructConverter
public class ObjectiveC2_Method extends ObjectiveC_Method
-
-
Constructor Summary
Constructors Constructor Description ObjectiveC2_Method(ObjectiveC2_State state, BinaryReader reader, ObjectiveC_MethodType methodType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getImplementation()
java.lang.String
getName()
java.lang.String
getTypes()
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.-
Methods inherited from class ghidra.app.util.bin.format.objectiveC.ObjectiveC_Method
applyTo, getIndex, getMethodType
-
-
-
-
Constructor Detail
-
ObjectiveC2_Method
public ObjectiveC2_Method(ObjectiveC2_State state, BinaryReader reader, ObjectiveC_MethodType methodType) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in classObjectiveC_Method
-
getTypes
public java.lang.String getTypes()
- Specified by:
getTypes
in classObjectiveC_Method
-
getImplementation
public long getImplementation()
- Specified by:
getImplementation
in classObjectiveC_Method
-
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.
- 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
-
-