public interface

INativeItem

implements ICodeItem
com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem
Known Indirect Subclasses

Class Overview

Master interface for native code items.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem
Public Methods
abstract void addListener(INativeItemListener listener)
Register a listener to INativeItem events.
abstract <T> T getAttribute(String name, Class<T> clazz)
abstract Map<String, Object> getAttributes()
abstract boolean hasAttribute(String name)
abstract boolean isAutoGenerated()
abstract boolean removeAttribute(String name)
abstract void removeListener(INativeItemListener listener)
Remove a listener bound to this INativeItem object.
abstract boolean setAttribute(String name, Object data)
abstract void setAutoGenerated(boolean autogenerated)
abstract void setName(String name)
Set the effective name of the native item.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.ICodeItem

Public Methods

public abstract void addListener (INativeItemListener listener)

Register a listener to INativeItem events.

public abstract T getAttribute (String name, Class<T> clazz)

public abstract Map<String, Object> getAttributes ()

public abstract boolean hasAttribute (String name)

public abstract boolean isAutoGenerated ()

public abstract boolean removeAttribute (String name)

public abstract void removeListener (INativeItemListener listener)

Remove a listener bound to this INativeItem object.

public abstract boolean setAttribute (String name, Object data)

Parameters
name cannot be null
data if null, the attribute is not set or removed if it were present

public abstract void setAutoGenerated (boolean autogenerated)

public abstract void setName (String name)

Set the effective name of the native item. All native items can have a name.

Parameters
name the new name; use null to reset the item name to its original name