Interface ICodePackage

All Superinterfaces:
ICodeItem
All Known Subinterfaces:
IDexPackage, IPackage

public interface ICodePackage extends ICodeItem
Abstraction for a code package (or namespace). A package contains other packages, types, classes, and methods.
  • 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

      List<? extends ICodeItem> getChildren()
      Get all the (direct) children of this package, including other packages.
      Returns: