Interface ITypeAccess
-
- All Superinterfaces:
IElementAccess,INamedElementAccess,IProgrammingElementAccess
- All Known Subinterfaces:
IGenericClassAccess,IJavaTypeAccess,IPythonClassAccess
- All Known Implementing Classes:
CppClassAccess,CppEnumAccess,CppStructAccess,CppStructuredTypeAccess,CppTypeAccess,CppUnionAccess,CSharpClassAccess,CSharpDelegateAccess,CSharpEnumAccess,CSharpInterfaceAccess,CSharpStructAccess,CSharpTypeAccess,GenericClassAccess,JavaTypeAccess,PythonClassAccess,TypeAccess
public interface ITypeAccess extends IProgrammingElementAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceITypeAccess.IVisitor-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.model.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.NumbergetAverageComplexityMetric()java.lang.NumbergetAverageNestingMetric()java.util.List<? extends IFieldAccess>getFields()java.lang.NumbergetLCOM4Metric()java.lang.NumbergetMaxNestingMetric()java.util.List<? extends IMethodAccess>getMethods()java.lang.NumbergetNumberOfStatementsMetric()java.lang.NumbergetSourceElementCountMetric()booleanisAbstract()booleanisAnonymous()booleanisClass()booleanisInterface()booleanisNested()booleantypeOf(java.lang.String fqName)-
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
-
-
-
-
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()
-
-