| Package | Description |
|---|---|
| com.atlassian.clover.api.registry | |
| com.atlassian.clover.instr | |
| com.atlassian.clover.registry.entities |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClassInfo
Represents a single class or it's equivalent (an interface, trait etc).
|
interface |
FileInfo
Represents a single source file.
|
interface |
MethodInfo
Represents a method (or an equivalent, like function)
Implements interfaces:
HasClasses - classes declared inside a method body, for example:
anonymous inline class - Java, Groovy - currently Clover does not handle inline classes (it treats them as
a part of the method body)
HasMethods - some programming languages allow to declare a method inside another method, for example:
a lambda expression inside a method - Java 8
a function inside a function - Scala, Closure
HasStatements, HasBranches - returns code defined in a method body
HasContextFilter - set of custom statement/method contexts for filtering
HasMetrics, HasAggregatedMetrics - code metrics for the method
HasParent - parent method/class/file for this method
|
interface |
PackageInfo
Implemented interfaces:
EntityContainer - package can contain files
HasClasses - classes declared in source files inside this package
HasFiles - list of source files belonging to a package
HasContextFilter - context filter applied to a package
HasMetrics - code metrics for a package
HasParent - parent project for this package
|
interface |
ProjectInfo |
| Modifier and Type | Method and Description |
|---|---|
EntityContainer |
PackageInfo.getParent()
Returns a project containing this package
EntityVisitor.visitProject(ProjectInfo). |
EntityContainer |
MethodInfo.getParent()
Returns an object which encloses this method.
|
EntityContainer |
HasParent.getParent() |
| Modifier and Type | Method and Description |
|---|---|
EntityContainer |
InstrumentationSessionImpl.getCurrentContainer() |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseClassInfo |
class |
BaseFileInfo |
class |
BasePackageInfo |
class |
BaseProjectInfo |
class |
FullClassInfo |
class |
FullFileInfo |
class |
FullMethodInfo |
class |
FullPackageInfo |
class |
FullProjectInfo
A model of a java project.
|
| Modifier and Type | Method and Description |
|---|---|
EntityContainer |
FullStatementInfo.getParent() |
EntityContainer |
FullMethodInfo.getParent() |
EntityContainer |
FullClassInfo.getParent() |
EntityContainer |
FullBranchInfo.getParent() |
EntityContainer |
BasePackageInfo.getParent()
Return parent project
|
EntityContainer |
BaseFileInfo.getParent() |
EntityContainer |
BaseClassInfo.getParent() |
EntityContainer |
ParentEntity.getParentEntity() |
| Constructor and Description |
|---|
ParentEntity(EntityContainer parentEntity,
FileInfo containingFile) |
Copyright © 2024 OpenClover.org. All rights reserved.