|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassInfo
Represents a single class or it's equivalent (an interface, trait etc). Implemented interfaces:
Method Summary | |
---|---|
java.util.List<? extends ClassInfo> |
getClasses()
Returns list of inner classes declared on the top level of the class. |
ClassInfo |
getContainingClass()
Returns a class in which this class is declared (case for inner classes) or null otherwise. |
FileInfo |
getContainingFile()
Returns a file in which this class is declared. |
MethodInfo |
getContainingMethod()
Returns a method in which this class (an anonymous inline class for instance) is declared or null
otherwise. |
java.util.List<? extends MethodInfo> |
getMethods()
Returns list of methods declared on the top level of the class. |
ModifiersInfo |
getModifiers()
|
java.lang.String |
getName()
|
PackageInfo |
getPackage()
|
java.lang.String |
getQualifiedName()
|
java.util.List<? extends StatementInfo> |
getStatements()
Returns list of statements declared on the to level of the class, i.e. |
boolean |
isEmpty()
Returns true if this class does not contain any nested entities (method or inner classes) |
boolean |
isTestClass()
|
Methods inherited from interface com.atlassian.clover.api.registry.SourceInfo |
---|
getEndColumn, getEndLine, getStartColumn, getStartLine |
Methods inherited from interface com.atlassian.clover.api.registry.EntityContainer |
---|
visit |
Methods inherited from interface com.atlassian.clover.api.registry.HasClasses |
---|
getAllClasses |
Methods inherited from interface com.atlassian.clover.api.registry.HasMethods |
---|
getAllMethods |
Methods inherited from interface com.atlassian.clover.api.registry.HasContextFilter |
---|
getContextFilter |
Methods inherited from interface com.atlassian.clover.api.registry.HasMetrics |
---|
getMetrics, getRawMetrics, setMetrics |
Methods inherited from interface com.atlassian.clover.api.registry.HasAggregatedMetrics |
---|
getAggregatedComplexity, getAggregatedStatementCount, setAggregatedComplexity, setAggregatedStatementCount |
Methods inherited from interface com.atlassian.clover.api.registry.HasParent |
---|
getParent |
Method Detail |
---|
java.lang.String getName()
getName
in interface HasMetrics
java.lang.String getQualifiedName()
ModifiersInfo getModifiers()
@Nullable ClassInfo getContainingClass()
null
otherwise.
null
@Nullable MethodInfo getContainingMethod()
null
otherwise.
null
@Nullable FileInfo getContainingFile()
boolean isTestClass()
@NotNull java.util.List<? extends ClassInfo> getClasses()
getClasses
in interface HasClasses
@NotNull java.util.List<? extends MethodInfo> getMethods()
getMethods
in interface HasMethods
@NotNull java.util.List<? extends StatementInfo> getStatements()
getStatements
in interface HasStatements
boolean isEmpty()
PackageInfo getPackage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |