Class JavaSourceFileAccess
- java.lang.Object
-
- com.hello2morrow.sonargraph.core.api.model.ElementAccess<com.hello2morrow.sonargraph.core.model.path.SourceFile>
-
- com.hello2morrow.sonargraph.core.api.model.SourceFileAccess
-
- com.hello2morrow.sonargraph.languageprovider.java.api.model.JavaSourceFileAccess
-
- All Implemented Interfaces:
IJavaSourceFileAccess
,IElementAccess
,INamedElementAccess
,ISourceFileAccess
public final class JavaSourceFileAccess extends SourceFileAccess implements IJavaSourceFileAccess
-
-
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.java.IJavaSourceFileAccess
IJavaSourceFileAccess.IVisitor
-
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.ISourceFileAccess
ISourceFileAccess.IVisitor
-
-
Constructor Summary
Constructors Constructor Description JavaSourceFileAccess(com.hello2morrow.sonargraph.languageprovider.java.model.programming.JavaCompilationUnit element)
Internal use only
-
Method Summary
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.SourceFileAccess
getAuthors, getAverageComplexityMetric, getAverageNestingMetric, getChangeCount30, getChangeCount365, getChangeCount90, getChurn30, getChurn365, getChurn90, getChurnRate30, getChurnRate365, getChurnRate90, getCodeCommentLinesMetric, getCommentLinesMetric, getFile, getLinesOfCodeMetric, getMaxNestingMetric, getMetricLevel, getNumberOfAuthors, getPath, getSourceLines, getSourceLines, getTotalLinesMetric, isModified
-
Methods inherited from class com.hello2morrow.sonargraph.core.api.model.ElementAccess
equals, getChildren, getElement, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, 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
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.ISourceFileAccess
getAuthors, getAverageComplexityMetric, getAverageNestingMetric, getChangeCount30, getChangeCount365, getChangeCount90, getChurn30, getChurn365, getChurn90, getChurnRate30, getChurnRate365, getChurnRate90, getCodeCommentLinesMetric, getCommentLinesMetric, getFile, getLinesOfCodeMetric, getMaxNestingMetric, getNumberOfAuthors, getPath, getSourceLines, getSourceLines, getTotalLinesMetric, isModified
-
-
-
-
Method Detail
-
getNumberOfTypesMetric
public java.lang.Integer getNumberOfTypesMetric()
- Specified by:
getNumberOfTypesMetric
in interfaceIJavaSourceFileAccess
-
getInstabilityModuleMetric
public java.lang.Float getInstabilityModuleMetric()
- Specified by:
getInstabilityModuleMetric
in interfaceIJavaSourceFileAccess
-
getInstabilitySystemMetric
public java.lang.Float getInstabilitySystemMetric()
- Specified by:
getInstabilitySystemMetric
in interfaceIJavaSourceFileAccess
-
getNumberOfIncomingDependenciesModuleMetric
public java.lang.Integer getNumberOfIncomingDependenciesModuleMetric()
- Specified by:
getNumberOfIncomingDependenciesModuleMetric
in interfaceIJavaSourceFileAccess
-
getNumberOfIncomingDependenciesSystemMetric
public java.lang.Integer getNumberOfIncomingDependenciesSystemMetric()
- Specified by:
getNumberOfIncomingDependenciesSystemMetric
in interfaceIJavaSourceFileAccess
-
getNumberOfOutgoingDependenciesModuleMetric
public java.lang.Integer getNumberOfOutgoingDependenciesModuleMetric()
- Specified by:
getNumberOfOutgoingDependenciesModuleMetric
in interfaceIJavaSourceFileAccess
-
getNumberOfOutgoingDependenciesSystemMetric
public java.lang.Integer getNumberOfOutgoingDependenciesSystemMetric()
- Specified by:
getNumberOfOutgoingDependenciesSystemMetric
in interfaceIJavaSourceFileAccess
-
getDependsUponModuleMetric
public java.lang.Integer getDependsUponModuleMetric()
- Specified by:
getDependsUponModuleMetric
in interfaceIJavaSourceFileAccess
-
getDependsUponSystemMetric
public java.lang.Integer getDependsUponSystemMetric()
- Specified by:
getDependsUponSystemMetric
in interfaceIJavaSourceFileAccess
-
getUsedFromModuleMetric
public java.lang.Integer getUsedFromModuleMetric()
- Specified by:
getUsedFromModuleMetric
in interfaceIJavaSourceFileAccess
-
getUsedFromSystemMetric
public java.lang.Integer getUsedFromSystemMetric()
- Specified by:
getUsedFromSystemMetric
in interfaceIJavaSourceFileAccess
-
getPhysicalCohesioneMetric
public java.lang.Integer getPhysicalCohesioneMetric()
- Specified by:
getPhysicalCohesioneMetric
in interfaceIJavaSourceFileAccess
-
getPhysicalCouplingMetric
public java.lang.Integer getPhysicalCouplingMetric()
- Specified by:
getPhysicalCouplingMetric
in interfaceIJavaSourceFileAccess
-
getFanInVisibilityModuleMetric
public java.lang.Float getFanInVisibilityModuleMetric()
- Specified by:
getFanInVisibilityModuleMetric
in interfaceIJavaSourceFileAccess
-
getFanOutVisibilityModuleMetric
public java.lang.Float getFanOutVisibilityModuleMetric()
- Specified by:
getFanOutVisibilityModuleMetric
in interfaceIJavaSourceFileAccess
-
getFanInVisibilitySystemMetric
public java.lang.Float getFanInVisibilitySystemMetric()
- Specified by:
getFanInVisibilitySystemMetric
in interfaceIJavaSourceFileAccess
-
getFanOutVisibilitySystemMetric
public java.lang.Float getFanOutVisibilitySystemMetric()
- Specified by:
getFanOutVisibilitySystemMetric
in interfaceIJavaSourceFileAccess
-
accept
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal- Specified by:
accept
in interfaceINamedElementAccess
- Overrides:
accept
in classSourceFileAccess
- Parameters:
visitor
- The visitor implementation
-
-