Interface IDexPackage
- All Superinterfaces:
ICodeItem
,ICodePackage
,IDexItem
This class represent Java packages of a Dex objects.
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_ANONYMOUS, FLAG_ARTIFICIAL, FLAG_BRIDGE, FLAG_CONSTRUCTOR, FLAG_DECLARED_SYNCHRONIZED, FLAG_DESTRUCTOR, FLAG_ENUM, FLAG_FINAL, FLAG_INNER, FLAG_INTERFACE, FLAG_INTERNAL, FLAG_NATIVE, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STRICT, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_VARARGS, FLAG_VIRTUAL, FLAG_VOLATILE
-
Method Summary
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getSignature, getSignature, getSignature, isArtificial, isInternal
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodePackage
getChildren, getChildrenPackages, getParentPackage, isRootPackage
-
Method Details
-
getName
Provide the package's top-level element name. Example: if the package is "com.xyz.foo", then "foo" is returned. -
setName
Rename the top-level element of this package. This method does not notify changes on success: it is up to the user to issue aJ.UnitChange
notification.This method is for convenience only: users can always use the associated unit's
RENAME
action (through theexecuteAction
method) to rename an item generically.- Parameters:
name
- simple, top-level element package name- Returns:
- success indicator
-