com.pnfsoftware.jeb.core.units.code.java.IJavaSourceUnit |
Definition of a source unit representing a Java class in the form of an Abstract Syntax Tree.
Note: the PNF Software's native Dalvik decompiler returns Java source units that implement this interface.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaClass |
getClassElement()
Get a reference to the Java class defined in this unit.
| ||||||||||
abstract IJavaFactories |
getFactories()
Get an AST element builder.
| ||||||||||
abstract String |
getIdentifierName(IJavaIdentifier ident)
Retrieve the effective (renamed) name of an identifier in this method's AST.
| ||||||||||
abstract int |
optimize()
Convenience method used to run an additional pass of standard (built-in) AST optimizations.
| ||||||||||
abstract boolean |
setIdentifierName(IJavaIdentifier ident, String name)
Rename an identifier.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Get a reference to the Java class defined in this unit.
Get an AST element builder. The builder is used to create new AST elements, which can then be inserted in an existed AST.
Retrieve the effective (renamed) name of an identifier in this method's AST.
Convenience method used to run an additional pass of standard (built-in) AST optimizations.
Rename an identifier.