com.pnfsoftware.jeb.core.units.code.ICodeItem |
![]() |
Definition of a generic code object.
TODO: rename to ICodeObject
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | FLAG_ABSTRACT | ||||||||||
int | FLAG_ANNOTATION | ||||||||||
int | FLAG_ANONYMOUS | ||||||||||
int | FLAG_ARTIFICIAL | ||||||||||
int | FLAG_BRIDGE | ||||||||||
int | FLAG_CONSTRUCTOR | ||||||||||
int | FLAG_DECLARED_SYNCHRONIZED | ||||||||||
int | FLAG_DESTRUCTOR | ||||||||||
int | FLAG_ENUM | ||||||||||
int | FLAG_FINAL | ||||||||||
int | FLAG_INNER | ||||||||||
int | FLAG_INTERFACE | ||||||||||
int | FLAG_INTERNAL | ||||||||||
int | FLAG_NATIVE | ||||||||||
int | FLAG_PRIVATE | ||||||||||
int | FLAG_PROTECTED | ||||||||||
int | FLAG_PUBLIC | ||||||||||
int | FLAG_STATIC | ||||||||||
int | FLAG_STRICT | ||||||||||
int | FLAG_SYNCHRONIZED | ||||||||||
int | FLAG_SYNTHETIC | ||||||||||
int | FLAG_TRANSIENT | ||||||||||
int | FLAG_VARARGS | ||||||||||
int | FLAG_VIRTUAL | ||||||||||
int | FLAG_VOLATILE |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getAddress()
Get the item address.
| ||||||||||
abstract int |
getGenericFlags()
Get the canonicalized generic flags for that code item.
| ||||||||||
abstract int |
getIndex()
Get the item index.
| ||||||||||
abstract long |
getItemId()
Get the item identifier.
| ||||||||||
abstract String |
getName(boolean effective)
Get the item name.
| ||||||||||
abstract String |
getName()
Get the item name.
| ||||||||||
abstract String |
getSignature(boolean effective)
Get the item signature.
| ||||||||||
abstract String |
getSignature()
Get the item signature.
| ||||||||||
abstract boolean |
isArtificial()
Determine if the item was part of the original code unit, or was added after processing
complete (eg, by a third-party client).
| ||||||||||
abstract boolean |
isInternal()
Determine if the item is internal or external.
|
Get the item address.
Get the canonicalized generic flags for that code item. Examples include access flags or structural flags.
ICodeItem.FLAG_*
values
Get the item index. The meaning of the index is specific to the code unit produced the item.
Get the item identifier.
Get the item name.
effective | true to get the actual name, false to return the original name (if the unit allows the modification of items) |
---|
Get the item name. The effective name is returned.
Get the item signature.
effective | true to get the actual signature, false to return the original signature (if the unit allows the modification of items) |
---|
Get the item signature. The effective name is returned.
Determine if the item was part of the original code unit, or was added after processing complete (eg, by a third-party client).
This is a convenience method that checks whether FLAG_ARTIFICIAL
is set.
Determine if the item is internal or external. An internal item is defined within its unit, whereas an external item may just be a reference to an item defined in a separate unit.
This is a convenience method that checks whether FLAG_INTERNAL
is set.