| Modifier and Type | Method and Description |
|---|---|
PackageInfo |
InstrumentationSession.enterPackage(String name) |
PackageInfo |
InstrumentationSession.getCurrentPackage() |
| Modifier and Type | Method and Description |
|---|---|
PackageInfo |
HasPackages.findPackage(String name)
Searches for a package with given name
|
PackageInfo |
FileInfo.getContainingPackage()
Returns a package for which this package belongs to (or the default package)
Note: it supports only one package namespace per source file
|
PackageInfo |
ClassInfo.getPackage() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends PackageInfo> |
HasPackages.getAllPackages()
Returns list of all packages defined in the project (including nested packages).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PackageInfo.isDescendantOf(PackageInfo other) |
void |
EntityVisitor.visitPackage(PackageInfo parentPackage) |
| Modifier and Type | Class and Description |
|---|---|
class |
BasePackageInfo |
class |
FullPackageInfo |
| Modifier and Type | Method and Description |
|---|---|
PackageInfo |
FullProjectInfo.findPackage(String name) |
PackageInfo |
BaseProjectInfo.findPackage(String name) |
PackageInfo |
BaseFileInfo.getContainingPackage() |
PackageInfo |
BaseClassInfo.getPackage() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends PackageInfo> |
BaseProjectInfo.getAllPackages() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FullPackageInfo.isDescendantOf(PackageInfo other) |
boolean |
BasePackageInfo.isDescendantOf(PackageInfo other) |
| Modifier and Type | Method and Description |
|---|---|
PackageInfo |
PackageInfoExt.getPackageInfo() |
| Constructor and Description |
|---|
PackageInfoExt(PackageInfo packageInfo,
boolean isTestOnly) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JavaHtmlSourceRenderer.isTestOnlyPackage(PackageInfo pkg)
Returns true if package contains only test classes
|
| Modifier and Type | Method and Description |
|---|---|
static File |
CloverUtils.createOutDir(PackageInfo pkg,
File basePath) |
Copyright © 2024 OpenClover.org. All rights reserved.