public interface

INativeMethodItem

implements ICodeMethod INativeItem
com.pnfsoftware.jeb.core.units.code.asm.items.INativeMethodItem

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract INativeType getClassType()
Get the type of the class holding this method.
abstract INativeMethodDataItem getData()
If the method is internal, retrieve the method's definition object.
abstract List<? extends IInstruction> getInstructions()
This method is deprecated. Use getData() and getCFG() instead.
abstract List<String> getParameterNames()
Retrieve a list of parameter names.
abstract List<? extends INativeType> getParameterTypes()
Get the method's parameters list.
abstract IPrototypeItem getPrototype()
Retrieve the method prototype, if one was set.
abstract INativeType getReturnType()
Get the method's return type.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
From interface com.pnfsoftware.jeb.core.units.code.ICodeMethod
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem

Public Methods

public abstract INativeType getClassType ()

Get the type of the class holding this method. This method will return null if the method is class-less (example, a native sub-routine not contained in any class).

Returns
  • the class type, null if unknown

public abstract INativeMethodDataItem getData ()

If the method is internal, retrieve the method's definition object.

Returns
  • the method data object; null if the method is external

public abstract List<? extends IInstruction> getInstructions ()

This method is deprecated.
Use getData() and getCFG() instead.

Get the list of instructions of the method's body.

Returns
  • null if the method has no body; else, a list (possibly empty) of instructions

public abstract List<String> getParameterNames ()

Retrieve a list of parameter names.

Returns
  • a list, possibly empty (or containing less entries than the actual parameter count); never null

public abstract List<? extends INativeType> getParameterTypes ()

Get the method's parameters list.

Returns
  • the parameter types, null if unknown

public abstract IPrototypeItem getPrototype ()

Retrieve the method prototype, if one was set.

Returns
  • the prototype or null (if unknown)

public abstract INativeType getReturnType ()

Get the method's return type.

Returns
  • the return type, null if unknown