| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
InstrumentationSession.enterMethod(ContextSet context,
SourceInfo region,
MethodSignature signature,
boolean isTest,
String staticTestName,
boolean isLambda,
int complexity,
LanguageConstruct construct) |
MethodInfo |
InstrumentationSession.getCurrentMethod() |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
MethodInfo.getContainingMethod()
Returns a method in which this method (an inner function actually) is declared or
null if method
is not nested inside other method. |
MethodInfo |
ClassInfo.getContainingMethod()
Returns a method in which this class (an anonymous inline class for instance) is declared or
null
otherwise. |
| Modifier and Type | Method and Description |
|---|---|
List<? extends MethodInfo> |
HasMethods.getAllMethods()
Returns list of all methods, including indirect descendants.
|
List<? extends MethodInfo> |
HasMethods.getMethods()
Returns list of methods
|
List<? extends MethodInfo> |
FileInfo.getMethods()
Returns list of methods which are declared on a top-level of this source file.
|
List<? extends MethodInfo> |
ClassInfo.getMethods()
Returns list of methods declared on the top level of the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EntityVisitor.visitMethod(MethodInfo parentMethod) |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
MethodRegistrationNode.getMethod() |
MethodInfo |
MethodEntryInstrEmitter.getMethod() |
MethodInfo |
FileStructureInfo.MethodMarker.getMethod() |
| Modifier and Type | Method and Description |
|---|---|
String |
TestNameExtractor.getTestNameForMethod(MethodInfo methodInfo)
Returns name of the test corresponding with this test method or
null if such test name could not be
determined. |
String |
SpockFeatureNameExtractor.getTestNameForMethod(MethodInfo methodInfo) |
String |
PlainMethodNameExtractor.getTestNameForMethod(MethodInfo methodInfo) |
String |
NullNameExtractor.getTestNameForMethod(MethodInfo methodInfo) |
String |
JUnitParameterizedTestExtractor.getTestNameForMethod(MethodInfo methodInfo) |
String |
DefaultTestNameExtractor.getTestNameForMethod(MethodInfo methodInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileElementVisitor.visitMethod(MethodInfo info) |
| Modifier and Type | Class and Description |
|---|---|
class |
FullMethodInfo |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
ParentEntity.getContainingMethod() |
MethodInfo |
FullStatementInfo.getContainingMethod() |
MethodInfo |
FullMethodInfo.getContainingMethod() |
MethodInfo |
FullClassInfo.getContainingMethod() |
MethodInfo |
BaseClassInfo.getContainingMethod() |
| Modifier and Type | Method and Description |
|---|---|
List<? extends MethodInfo> |
FullMethodInfo.getAllMethods() |
List<? extends MethodInfo> |
FullFileInfo.getAllMethods() |
List<? extends MethodInfo> |
FullClassInfo.getAllMethods() |
List<? extends MethodInfo> |
BaseFileInfo.getAllMethods() |
List<? extends MethodInfo> |
BaseClassInfo.getAllMethods() |
List<? extends MethodInfo> |
FullMethodInfo.getMethods()
Returns list of methods
|
List<? extends MethodInfo> |
FullFileInfo.getMethods() |
List<? extends MethodInfo> |
FullClassInfo.getMethods() |
List<? extends MethodInfo> |
BaseFileInfo.getMethods() |
List<? extends MethodInfo> |
BaseClassInfo.getMethods() |
| Constructor and Description |
|---|
ParentEntity(MethodInfo containingMethod) |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
EntityVisitorUtils.GetParent.asMethod(BranchInfo thisBranch) |
MethodInfo |
EntityVisitorUtils.GetParent.asMethod(MethodInfo thisMethod) |
MethodInfo |
EntityVisitorUtils.GetParent.asMethod(StatementInfo thisStatement) |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
EntityVisitorUtils.GetParent.asMethod(MethodInfo thisMethod) |
boolean |
EntityVisitorUtils.isInnerMethod(MethodInfo thisMethod)
Returns true if we have such chain of parents:
|
boolean |
EntityVisitorUtils.CheckParent.isMethod(MethodInfo thisMethod) |
| Modifier and Type | Method and Description |
|---|---|
List<MethodInfo> |
MetricsCollator.getLeastTestedMethods(List<? extends ClassInfo> classes,
boolean showLambdaFunctions,
boolean showInnerFunctions)
Given a list of
ClassInfo objects,
return a list of MethodInfo s, ranked
by PC COvered (asc), Num Elements Uncovered and Complexity. |
| Modifier and Type | Method and Description |
|---|---|
String |
HtmlRenderingSupportImpl.getMethodIndentiation(MethodInfo methodInfo) |
| Modifier and Type | Method and Description |
|---|---|
MethodInfo |
LineRenderInfo.getMethodStart() |
| Modifier and Type | Method and Description |
|---|---|
void |
LineRenderInfo.setMethodStart(MethodInfo methodStart) |
| Modifier and Type | Method and Description |
|---|---|
static String |
CloverUtils.createSyntheticTestName(MethodInfo method) |
Copyright © 2024 OpenClover.org. All rights reserved.