Package com.hello2morrow.sonargraph.api
Interface ITypeAccess
- All Superinterfaces:
IElementAccess
,INamedElementAccess
,IProgrammingElementAccess
- All Known Subinterfaces:
ICSharpTypeAccess
,IGenericClassAccess
,IJavaTypeAccess
,IPythonClassAccess
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
Method Summary
Modifier and TypeMethodDescriptionList
<? extends IFieldAccess> List
<? extends IMethodAccess> boolean
boolean
boolean
isClass()
boolean
boolean
isNested()
boolean
Methods inherited from interface com.hello2morrow.sonargraph.api.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
Methods inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
accept, getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssues, getIssues, getIssues, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
Methods inherited from interface com.hello2morrow.sonargraph.api.IProgrammingElementAccess
getDirectory, getIncomingDependencies, getIncomingDependencies, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getReferencedElements, getReferencedElements, getReferencedElements, getReferencingElements, getReferencingElements, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElement
-
Method Details
-
typeOf
-
getFields
List<? extends IFieldAccess> getFields() -
getMethods
List<? extends IMethodAccess> getMethods() -
getLCOM4Metric
Number getLCOM4Metric()- Returns:
- the metric or 'null' if not available
-
getSourceElementCountMetric
Number getSourceElementCountMetric()- Returns:
- the metric or 'null' if not available
-
getNumberOfStatementsMetric
Number getNumberOfStatementsMetric()- Returns:
- the metric or 'null' if not available
-
getMaxNestingMetric
Number getMaxNestingMetric()- Returns:
- the metric or 'null' if not available
-
getAverageComplexityMetric
Number getAverageComplexityMetric()- Returns:
- the metric or 'null' if not available
-
getAverageNestingMetric
Number getAverageNestingMetric() -
isClass
boolean isClass() -
isInterface
boolean isInterface() -
isNested
boolean isNested() -
isAnonymous
boolean isAnonymous() -
isAbstract
boolean isAbstract()
-