Interface ICodePackage
- All Superinterfaces:
ICodeItem
- All Known Subinterfaces:
IDexPackage
,IPackage
Abstraction for a code package (or namespace). A package contains other packages, types, classes,
and methods.
-
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
Modifier and TypeMethodDescriptionGet all the (direct) children of this package, including other packages.List<? extends ICodePackage>
Get the list of (direct) children packages.Get the parent of this package.boolean
Determine if this package is the (or a) root package.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.ICodeItem
getAddress, getAddress, getGenericFlags, getIndex, getItemId, getName, getName, getSignature, getSignature, getSignature, isArtificial, isInternal
-
Method Details
-
isRootPackage
boolean isRootPackage()Determine if this package is the (or a) root package.- Returns:
-
getParentPackage
ICodePackage getParentPackage()Get the parent of this package.- Returns:
-
getChildrenPackages
List<? extends ICodePackage> getChildrenPackages()Get the list of (direct) children packages. This method is a convenience method;getChildren()
could be used to retrieve all children, including children packages.- Returns:
-
getChildren
Get all the (direct) children of this package, including other packages.- Returns:
-