public interface

IClassType

implements IStructureType
com.pnfsoftware.jeb.core.units.code.asm.type.IClassType

Class Overview

Interface to represent native class types.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract boolean collectVirtualMethodOverrides(int tableIndex, int methodIndex, Collection<VirtualMethodCoordinates> overUp, Collection<VirtualMethodCoordinates> overDown)
Gather the overrides and reverse-overrides of a virtual method.
abstract INativeClassItem getClassItem()
abstract List<? extends IStructureTypeField> getInstanceFields()
abstract Collection<? extends IClassType> getSubtypes()
abstract Collection<? extends IClassType> getSupertypes()
abstract List<? extends IVirtualTableDefinition> getVirtualTables()
abstract boolean renameVirtualMethod(int tableIndex, int methodIndex, String name)
Rename a virtual method consistently.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
From interface com.pnfsoftware.jeb.core.units.code.ICodeType
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItemListenable
From interface com.pnfsoftware.jeb.core.units.code.asm.type.INativeType
From interface com.pnfsoftware.jeb.core.units.code.asm.type.IStructureType

Public Methods

public abstract boolean collectVirtualMethodOverrides (int tableIndex, int methodIndex, Collection<VirtualMethodCoordinates> overUp, Collection<VirtualMethodCoordinates> overDown)

Gather the overrides and reverse-overrides of a virtual method.

Parameters
tableIndex virtual table index
methodIndex method index within the virtual table
overUp optional output sink; if non-null, will contain all ascending reverse-overrides (the current method is included, and will be the first element in the collection)
overDown optional output sink; if non-null, will contain all descending overrides (the current method is not included)
Returns
  • success indicator (false means the provided method was not a virtual method of this class)

public abstract INativeClassItem getClassItem ()

public abstract List<? extends IStructureTypeField> getInstanceFields ()

public abstract Collection<? extends IClassType> getSubtypes ()

public abstract Collection<? extends IClassType> getSupertypes ()

public abstract List<? extends IVirtualTableDefinition> getVirtualTables ()

public abstract boolean renameVirtualMethod (int tableIndex, int methodIndex, String name)

Rename a virtual method consistently. Other relevant methods of the class hierarchy will be renamed as well.

Parameters
tableIndex virtual table index
methodIndex method index within the virtual table
name new name for the method
Returns
  • success indicator