public interface

INativeClassItem

implements ICodeClass INativeItem
com.pnfsoftware.jeb.core.units.code.asm.items.INativeClassItem

Class Overview

Definition of a native class item, having a class type, methods, fields, and so on.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract boolean collectVirtualMethodOverrides(INativeMethodItem method, Collection<INativeMethodItem> overUp, Collection<INativeMethodItem> overDown)
abstract IClassType getClassType()
Get the optional type implemented by this class item.
abstract List<? extends INativeMethodItem> getConstructors()
abstract Couple<Integer, Integer> getCoordinatesOfVirtualMethod(INativeMethodItem method)
abstract List<? extends INativeMethodItem> getDestructors()
abstract List<? extends INativeFieldItem> getFields()
Get the list of fields that are defined in this class (super fields are not returned).
abstract List<? extends IClassType> getImplementedInterfaces()
Get the list of implemented interface types for this class.
abstract List<? extends INativeFieldItem> getInstanceFields()
abstract List<? extends INativeMethodItem> getInstanceMethods()
Get the instance methods defined in this class.
abstract List<? extends INativeMethodItem> getMethods()
Get the list of methods that are defined in this class (super methods are not returned).
abstract List<? extends INativeMethodItem> getNonVirtualMethods()
Get the non-virtual, non-static methods of this class.
abstract List<? extends INativeFieldItem> getStaticFields()
abstract List<? extends INativeMethodItem> getStaticMethods()
Get the static methods of this class.
abstract List<? extends INativeType> getSubtypes()
abstract List<? extends IClassType> getSupertypes()
Get the list of super types for this class.
abstract INativeMethodItem getVirtualMethodFromCoordinates(int tableIndex, int methodIndex)
abstract List<? extends INativeMethodItem> getVirtualMethods(boolean onlyDefinedInThisClass)
Get the virtual methods of this class, including or not the virtual methods defined in parent classes that were not overridden (and therefore, indirectly belonging to this class as well).
abstract List<? extends IMethodTable> getVirtualTables()
abstract boolean renameVirtualMethod(INativeMethodItem method, String name)
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeClass
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem
From interface com.pnfsoftware.jeb.core.units.code.asm.items.INativeItemListenable

Public Methods

public abstract boolean collectVirtualMethodOverrides (INativeMethodItem method, Collection<INativeMethodItem> overUp, Collection<INativeMethodItem> overDown)

public abstract IClassType getClassType ()

Get the optional type implemented by this class item.

public abstract List<? extends INativeMethodItem> getConstructors ()

public abstract Couple<Integer, Integer> getCoordinatesOfVirtualMethod (INativeMethodItem method)

public abstract List<? extends INativeMethodItem> getDestructors ()

public abstract List<? extends INativeFieldItem> getFields ()

Get the list of fields that are defined in this class (super fields are not returned).

Returns
  • a list of fields, possibly empty if this class has no implementation

public abstract List<? extends IClassType> getImplementedInterfaces ()

Get the list of implemented interface types for this class.

public abstract List<? extends INativeFieldItem> getInstanceFields ()

public abstract List<? extends INativeMethodItem> getInstanceMethods ()

Get the instance methods defined in this class. (Virtual methods defined in parent classes are not included.) Not all instance methods may be virtual.

public abstract List<? extends INativeMethodItem> getMethods ()

Get the list of methods that are defined in this class (super methods are not returned).

Returns
  • a list of methods, possibly empty if this class has no implementation

public abstract List<? extends INativeMethodItem> getNonVirtualMethods ()

Get the non-virtual, non-static methods of this class.

public abstract List<? extends INativeFieldItem> getStaticFields ()

public abstract List<? extends INativeMethodItem> getStaticMethods ()

Get the static methods of this class.

public abstract List<? extends INativeType> getSubtypes ()

public abstract List<? extends IClassType> getSupertypes ()

Get the list of super types for this class.

public abstract INativeMethodItem getVirtualMethodFromCoordinates (int tableIndex, int methodIndex)

public abstract List<? extends INativeMethodItem> getVirtualMethods (boolean onlyDefinedInThisClass)

Get the virtual methods of this class, including or not the virtual methods defined in parent classes that were not overridden (and therefore, indirectly belonging to this class as well).

public abstract List<? extends IMethodTable> getVirtualTables ()

public abstract boolean renameVirtualMethod (INativeMethodItem method, String name)