public final class JavaAccess extends CoreAccess
ElementAccess.IAccessFactory
INamedElementAccess.INamedElementAccessVisitor
Constructor and Description |
---|
JavaAccess(SoftwareSystem softwareSystem,
IMetricIdProvider metricIdProvider,
ScriptApi api,
IMetricAccessor accessor) |
Modifier and Type | Method and Description |
---|---|
IJavaVisitor |
createVisitor()
Create a new language agnostic visitor.
|
java.lang.Integer |
getBiggestPackageCycleGroupMetric() |
java.lang.Integer |
getByteCodeInstructionsMetric() |
java.lang.Integer |
getNumberOfCyclicPackagesMetric() |
java.lang.Integer |
getNumberOfIgnoredCyclicPackagesMetric() |
java.lang.Integer |
getNumberOfPackageCycleGroupsMetric() |
java.lang.Integer |
getNumberOfPackagesMetric() |
java.lang.Integer |
getPackageCyclicityMetric() |
java.lang.Integer |
getPackageDependenciesToRemoveMetric() |
java.lang.Integer |
getPackageParserDependenciesToRemoveMetric() |
java.lang.Float |
getPackageRelativeCyclicityMetric() |
java.lang.Integer |
getPackageStructuralDebtIndexMetric() |
findFields, findFields, findMethods, findMethods, findRoutines, findRoutines, findTypes, findTypes, getOrCreateMetricId, getOrCreateMetricId, getOrCreateMetricId, getOrCreateMetricId, visitModuleNamespaces, visitSystemNamespaces
findElementByFqn, getACDMetric, getBaseDirectory, getBiggestComponentCycleGroupMetric, getBiggestModuleACDMetric, getCCDMetric, getCodeCommentLinesMetric, getCommentLinesMetric, getComponentCyclicityMetric, getComponentDependenciesToRemoveMetric, getComponentParserDependenciesToRemoveMetric, getComponentRelativeCyclicityMetric, getComponents, getComponentStructuralDebtIndexMetric, getLinesOfCodeMetric, getMaintainabilityLevelMetric, getNCCDMetric, getNumberOfAllViolatingComponentsMetric, getNumberOfArtifactsMetric, getNumberOfCodeDuplicatesMetric, getNumberOfComponentCycleGroupsMetric, getNumberOfComponentsMetric, getNumberOfComponentViolationsMetric, getNumberOfComponntsInDeprectaedArtifactsMetric, getNumberOfCyclicComponentsMetric, getNumberOfCyclicModulesMetric, getNumberOfDuplicatedLinesMetric, getNumberOfEmptyArtifactsMetric, getNumberOfIgnoredCodeDuplicatesMetric, getNumberOfIgnoredCyclicComponentsMetric, getNumberOfIgnoredParserDependencyViolationsMetric, getNumberOfModulesMetric, getNumberOfParserDependencyViolationsMetric, getNumberOfStatementsMetric, getNumberOfUnassignedComponentsMetric, getNumberOfViolatingComponentsMetric, getPropagationCostMetric, getRACDMetric, getSourceElementCountMetric, getTotalLinesMetric, visitLogicalModuleNamespaces, visitLogicalSystemNamespaces, visitModel, visitParserModel
accept, equals, getChildren, getElement, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getName, getNameWithSignature, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, toString
public JavaAccess(SoftwareSystem softwareSystem, IMetricIdProvider metricIdProvider, ScriptApi api, IMetricAccessor accessor)
public IJavaVisitor createVisitor()
AbstractCoreAccess
createVisitor
in class AbstractCoreAccess
public java.lang.Integer getByteCodeInstructionsMetric()
public java.lang.Integer getBiggestPackageCycleGroupMetric()
public java.lang.Integer getNumberOfCyclicPackagesMetric()
public java.lang.Integer getNumberOfIgnoredCyclicPackagesMetric()
public java.lang.Integer getNumberOfPackageCycleGroupsMetric()
public java.lang.Integer getNumberOfPackagesMetric()
public java.lang.Integer getPackageCyclicityMetric()
public java.lang.Float getPackageRelativeCyclicityMetric()
public java.lang.Integer getPackageStructuralDebtIndexMetric()
public java.lang.Integer getPackageParserDependenciesToRemoveMetric()
public java.lang.Integer getPackageDependenciesToRemoveMetric()