Package com.hello2morrow.sonargraph.api
Interface ITypeAccess
-
- All Superinterfaces:
IElementAccess
,INamedElementAccess
,IProgrammingElementAccess
- All Known Subinterfaces:
ICSharpTypeAccess
,IGenericClassAccess
,IJavaTypeAccess
,IPythonClassAccess
public interface ITypeAccess extends IProgrammingElementAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ITypeAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Number
getAverageComplexityMetric()
java.lang.Number
getAverageNestingMetric()
java.util.List<? extends IFieldAccess>
getFields()
java.lang.Number
getLCOM4Metric()
java.lang.Number
getMaxNestingMetric()
java.util.List<? extends IMethodAccess>
getMethods()
java.lang.Number
getNumberOfStatementsMetric()
java.lang.Number
getSourceElementCountMetric()
boolean
isAbstract()
boolean
isAnonymous()
boolean
isClass()
boolean
isInterface()
boolean
isNested()
boolean
typeOf(java.lang.String fqName)
-
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 Detail
-
typeOf
boolean typeOf(java.lang.String fqName)
-
getFields
java.util.List<? extends IFieldAccess> getFields()
-
getMethods
java.util.List<? extends IMethodAccess> getMethods()
-
getLCOM4Metric
java.lang.Number getLCOM4Metric()
- Returns:
- the metric or 'null' if not available
-
getSourceElementCountMetric
java.lang.Number getSourceElementCountMetric()
- Returns:
- the metric or 'null' if not available
-
getNumberOfStatementsMetric
java.lang.Number getNumberOfStatementsMetric()
- Returns:
- the metric or 'null' if not available
-
getMaxNestingMetric
java.lang.Number getMaxNestingMetric()
- Returns:
- the metric or 'null' if not available
-
getAverageComplexityMetric
java.lang.Number getAverageComplexityMetric()
- Returns:
- the metric or 'null' if not available
-
getAverageNestingMetric
java.lang.Number getAverageNestingMetric()
-
isClass
boolean isClass()
-
isInterface
boolean isInterface()
-
isNested
boolean isNested()
-
isAnonymous
boolean isAnonymous()
-
isAbstract
boolean isAbstract()
-
-