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>booleanbooleanbooleanisClass()booleanbooleanisNested()booleanMethods inherited from interface com.hello2morrow.sonargraph.api.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternalMethods inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
accept, getChildren, getChildrenRecursively, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssues, getIssues, getIssues, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursivelyMethods inherited from interface com.hello2morrow.sonargraph.api.IProgrammingElementAccess
getDirectory, getIncomingDependencies, getIncomingDependencies, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getReferencedElements, getReferencedElements, getReferencedElements, getReferencingElements, getReferencingElements, getRootDirectory, getSourceElementCountMetric, 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
-
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()
-