Class PythonClassAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.programming.ProgrammingElement>
-
- com.hello2morrow.sonargraph.core.api.model.ProgrammingElementAccess
-
- com.hello2morrow.sonargraph.core.api.model.TypeAccess
-
- com.hello2morrow.sonargraph.core.api.model.GenericClassAccess
-
- com.hello2morrow.sonargraph.languageprovider.python.api.model.PythonClassAccess
-
- All Implemented Interfaces:
IElementAccess
,IGenericClassAccess
,INamedElementAccess
,IProgrammingElementAccess
,ITypeAccess
,IPythonClassAccess
public final class PythonClassAccess extends GenericClassAccess implements IPythonClassAccess
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
ElementAccess.IAccessFactory
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.IProgrammingElementAccess
IProgrammingElementAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.ITypeAccess
ITypeAccess.IVisitor
-
-
Constructor Summary
Constructors Constructor Description PythonClassAccess(com.hello2morrow.sonargraph.languageprovider.python.model.programming.PythonClass element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNumberOfStatements()
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.TypeAccess
accept, getAverageComplexityMetric, getAverageNestingMetric, getFields, getLCOM4Metric, getMaxNestingMetric, getMethods, getMetricLevel, getNumberOfStatementsMetric, getSourceElementCountMetric, isAbstract, isAnonymous, isClass, isInterface, isNested, typeOf
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ProgrammingElementAccess
getDirectory, getIncomingDependencies, getIncomingDependencies, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getReferencedElements, getReferencedElements, getReferencedElements, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElements, getReferencingElements, getReferencingElementsRecursively, getReferencingElementsRecursively, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElement
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
equals, getChildren, getElement, getFullyQualifiedName, getIssueCount, getName, getNameWithSignature, getParent, getParent, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, setFactory, toString
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
accept, getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.IProgrammingElementAccess
getDirectory, getIncomingDependencies, getIncomingDependencies, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getReferencedElements, getReferencedElements, getReferencedElements, getReferencingElements, getReferencingElements, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElement
-
Methods inherited from interface com.hello2morrow.sonargraph.api.model.ITypeAccess
getAverageComplexityMetric, getAverageNestingMetric, getFields, getLCOM4Metric, getMaxNestingMetric, getMethods, getNumberOfStatementsMetric, getSourceElementCountMetric, isAbstract, isAnonymous, isClass, isInterface, isNested, typeOf
-
-
-
-
Method Detail
-
getNumberOfStatements
public int getNumberOfStatements()
- Specified by:
getNumberOfStatements
in interfaceIPythonClassAccess
- Returns:
- Number of statements not belonging to methods
-
-