public class RoutineAccess extends ProgrammingElementAccess implements IRoutineAccess
ElementAccess.IAccessFactory
IRoutineAccess.IVisitor
INamedElementAccess.INamedElementAccessVisitor
Modifier and Type | Method and Description |
---|---|
void |
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal
|
int |
getCyclomaticComplexityMetric()
Get the cyclomatic complexity number for this routine.
|
int |
getExtendedCyclomaticComplexityMetric()
Get the extended cyclomatic complexity number for this routine.
|
int |
getModifiedCyclomaticComplexityMetric()
Get the modified cyclomatic complexity number for this routine.
|
int |
getModifiedExtendedCyclomaticComplexityMetric()
Get the modified extended cyclomatic complexity number for this routine.
|
int |
getNumberOfParametersMetric()
Return the number of parameters of this routine.
|
int |
getNumberOfStatementsMetric()
Return the number of statements in this routine.
|
java.util.List<java.lang.String> |
getParameterTypes()
Return a list of fully qualified parameter types.
|
java.lang.String |
getReturnType()
Return the fully qualified name of the return type.
|
addDependencyTo, getDirectory, getIncomingDependencies, getIncomingDependencies, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getReferencedElements, getReferencedElements, getReferencedElements, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElements, getReferencingElements, getReferencingElementsRecursively, getReferencingElementsRecursively, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElement
equals, getChildren, getElement, getName, getNameWithSignature, getParent, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, toString
addDependencyTo, getDirectory, getIncomingDependencies, getIncomingDependencies, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getReferencedElements, getReferencedElements, getReferencedElements, getReferencingElements, getReferencingElements, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElement
getChildren, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
public java.lang.String getReturnType()
public java.util.List<java.lang.String> getParameterTypes()
public int getNumberOfParametersMetric()
getNumberOfParametersMetric
in interface IRoutineAccess
public int getNumberOfStatementsMetric()
getNumberOfStatementsMetric
in interface IRoutineAccess
public int getCyclomaticComplexityMetric()
getCyclomaticComplexityMetric
in interface IRoutineAccess
public int getExtendedCyclomaticComplexityMetric()
getExtendedCyclomaticComplexityMetric
in interface IRoutineAccess
public int getModifiedExtendedCyclomaticComplexityMetric()
getModifiedExtendedCyclomaticComplexityMetric
in interface IRoutineAccess
getExtendedCyclomaticComplexityMetric()
,
getModifiedCyclomaticComplexityMetric()
public int getModifiedCyclomaticComplexityMetric()
getModifiedCyclomaticComplexityMetric
in interface IRoutineAccess
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
accept
in interface INamedElementAccess
accept
in class ProgrammingElementAccess
visitor
- The visitor implementation