Interface IJavaMethodAccess
-
- All Superinterfaces:
IElementAccess
,IMethodAccess
,INamedElementAccess
,IProgrammingElementAccess
,IRoutineAccess
public interface IJavaMethodAccess extends IMethodAccess
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IJavaMethodAccess.IVisitor
-
Nested classes/interfaces inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
INamedElementAccess.INamedElementAccessVisitor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IAnnotationAccess>
getAnnotations()
int
getEndLineNumber()
IJavaTypeAccess
getParent()
Provides access to the parent.boolean
isCompilerGenerated()
boolean
isConstructor()
boolean
isDeprecated()
boolean
isFinal()
boolean
isGeneric()
boolean
isNative()
boolean
isPackagePrivate()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isStatic()
boolean
isStaticBlock()
boolean
isSynchronized()
-
Methods inherited from interface com.hello2morrow.sonargraph.api.IElementAccess
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
-
Methods inherited from interface com.hello2morrow.sonargraph.api.IMethodAccess
isAbstract, isDestructor, isInitializer, isOverriding
-
Methods inherited from interface com.hello2morrow.sonargraph.api.INamedElementAccess
accept, getChildren, getFullyQualifiedName, getIncomingDependenciesRecursively, getIncomingDependenciesRecursively, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssueCount, getIssues, getIssues, getIssues, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getOutgoingDependenciesRecursively, getParent, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
-
Methods inherited from interface com.hello2morrow.sonargraph.api.IProgrammingElementAccess
getDirectory, getIncomingDependencies, getIncomingDependencies, getLineNumber, getModule, getModuleNamespace, getOutgoingDependencies, getOutgoingDependencies, getOutgoingDependencies, getReferencedElements, getReferencedElements, getReferencedElements, getReferencingElements, getReferencingElements, getRootDirectory, getSourceFile, getSystemNamespace, isDefinedInEnclosingElement
-
Methods inherited from interface com.hello2morrow.sonargraph.api.IRoutineAccess
getCyclomaticComplexityMetric, getExtendedCyclomaticComplexityMetric, getMaxNesting, getModifiedCyclomaticComplexityMetric, getModifiedExtendedCyclomaticComplexityMetric, getNumberOfParametersMetric, getNumberOfStatementsMetric
-
-
-
-
Method Detail
-
getParent
IJavaTypeAccess getParent()
Description copied from interface:INamedElementAccess
Provides access to the parent.- Specified by:
getParent
in interfaceINamedElementAccess
- Returns:
- the parent or 'null' if there is no parent.
-
isStaticBlock
boolean isStaticBlock()
-
isConstructor
boolean isConstructor()
-
isSynchronized
boolean isSynchronized()
-
isNative
boolean isNative()
-
isDeprecated
boolean isDeprecated()
-
isPackagePrivate
boolean isPackagePrivate()
-
isProtected
boolean isProtected()
-
isPrivate
boolean isPrivate()
-
isPublic
boolean isPublic()
-
isGeneric
boolean isGeneric()
-
isFinal
boolean isFinal()
-
isStatic
boolean isStatic()
-
isCompilerGenerated
boolean isCompilerGenerated()
-
getAnnotations
java.util.List<IAnnotationAccess> getAnnotations()
-
getEndLineNumber
int getEndLineNumber()
- Returns:
- the line of the last statement in this method or -1 if not available.
-
-