public interface

ICodeMethod

implements ICodeItem
com.pnfsoftware.jeb.core.units.code.ICodeMethod
Known Indirect Subclasses

Class Overview

Interface representing a method.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract ICodeType getClassType()
Get the type of the class holding this method.
abstract List<? extends IInstruction> getInstructions()
Get the list of instructions of the method's body.
abstract List<? extends ICodeType> getParameterTypes()
Get the method's parameters list.
abstract ICodeType getReturnType()
Get the method's return type.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem

Public Methods

public abstract ICodeType 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 List<? extends IInstruction> getInstructions ()

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<? extends ICodeType> getParameterTypes ()

Get the method's parameters list.

Returns
  • the parameter types, null if unknown

public abstract ICodeType getReturnType ()

Get the method's return type.

Returns
  • the return type, null if unknown