com.pnfsoftware.jeb.core.units.code.asm.items.INativeItem |
![]() |
Master interface for native code items.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addFlags(int additions)
Add bits to the existing
flags . | ||||||||||
abstract void |
addListener(INativeItemListener listener)
Listen to events emitted by this native item.
| ||||||||||
abstract <T> T | getAttribute(String name, Class<T> clazz) | ||||||||||
abstract Map<String, Object> | getAttributes() | ||||||||||
abstract boolean | hasAttribute(String name) | ||||||||||
abstract boolean |
hasTrueAttribute(String name)
Convenience method.
| ||||||||||
abstract boolean | isAutoGenerated() | ||||||||||
abstract boolean |
isRenamed()
Convenience method used to determine whether this item has an effective name different than its original name.
| ||||||||||
abstract boolean | removeAttribute(String name) | ||||||||||
abstract void |
removeFlags(int subtractions)
Remove bits from the existing
flags . | ||||||||||
abstract void |
removeListener(INativeItemListener listener)
Stop listening to events emitted by this native item.
| ||||||||||
abstract boolean | setAttribute(String name, Object data) | ||||||||||
abstract void | setAutoGenerated(boolean autogenerated) | ||||||||||
abstract void |
setFlags(int newFlags)
Set the
flags . | ||||||||||
abstract void |
setName(String name)
Set the effective name of the native item.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Listen to events emitted by this native item.
Convenience method.
Convenience method used to determine whether this item has an effective name different than its original name.
Stop listening to events emitted by this native item.
name | cannot be null |
---|---|
data | if null, the attribute is not set or removed if it were present |
Set the effective name of the native item. All native items can have a name.
name | the new name; use null to reset the item name to its original name |
---|