public class RoutineAccess extends ProgrammingElementAccess implements IRoutineAccess
ElementAccess.IAccessFactoryIRoutineAccess.IVisitorINamedElementAccess.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, isDefinedInEnclosingElementequals, getChildren, getElement, getName, getNameWithSignature, getParent, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, toStringaddDependencyTo, getDirectory, getIncomingDependencies, getIncomingDependencies, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getReferencedElements, getReferencedElements, getReferencedElements, getReferencingElements, getReferencingElements, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElementgetChildren, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursivelygetName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternalpublic java.lang.String getReturnType()
public java.util.List<java.lang.String> getParameterTypes()
public int getNumberOfParametersMetric()
getNumberOfParametersMetric in interface IRoutineAccesspublic int getNumberOfStatementsMetric()
getNumberOfStatementsMetric in interface IRoutineAccesspublic int getCyclomaticComplexityMetric()
getCyclomaticComplexityMetric in interface IRoutineAccesspublic int getExtendedCyclomaticComplexityMetric()
getExtendedCyclomaticComplexityMetric in interface IRoutineAccesspublic int getModifiedExtendedCyclomaticComplexityMetric()
getModifiedExtendedCyclomaticComplexityMetric in interface IRoutineAccessgetExtendedCyclomaticComplexityMetric(),
getModifiedCyclomaticComplexityMetric()public int getModifiedCyclomaticComplexityMetric()
getModifiedCyclomaticComplexityMetric in interface IRoutineAccesspublic void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
accept in interface INamedElementAccessaccept in class ProgrammingElementAccessvisitor - The visitor implementation