com.pnfsoftware.jeb.core.units.code.java.IJavaSourceUnit |
Definition of a source unit representing a Java class or Java method in the form of an Abstract Syntax Tree (AST).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaElement |
getASTElement()
Get a reference to the Java class or method defined in this unit.
| ||||||||||
abstract IJavaClass |
getClassElement()
This method is deprecated.
use
getASTElement() instead
| ||||||||||
abstract IDexDecompilerUnit |
getDecompiler()
Get the decompiler unit (possibly the parent, possibly null) that generated this unit.
| ||||||||||
abstract IDexItem | getDexItem() | ||||||||||
abstract IJavaElementFactory |
getFactories()
This method is deprecated.
an AST element factory can be retrieved from the
getHighLevelContext()
| ||||||||||
abstract String |
getIdentifierName(IJavaIdentifier ident)
This method is deprecated.
use
getIdentifierName(IJavaIdentifier) instead
| ||||||||||
abstract int |
optimize()
This method is deprecated.
an AST element factory can be retrieved from the
getHighLevelContext()
| ||||||||||
abstract void |
recordIdentifierPositions(long objectId, ICodeCoordinates coordinates)
Reserved for internal use.
| ||||||||||
abstract boolean |
setIdentifierName(IJavaIdentifier ident, String name)
This method is deprecated.
use
setIdentifierName(IJavaIdentifier, String) instead
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.IUnitCreator
| |||||||||||
From interface
com.pnfsoftware.jeb.core.IUserDataSupport
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IAddressableUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IInteractiveUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.IUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.ISourceUnit
| |||||||||||
From interface
com.pnfsoftware.jeb.util.events.IEventSource
|
Get a reference to the Java class or method defined in this unit.
Get the decompiler unit (possibly the parent, possibly null) that generated this unit.
Reserved for internal use.