public final class JavaMethodAccess extends MethodAccess implements IJavaMethodAccess
ElementAccess.IAccessFactory
IJavaMethodAccess.IVisitor
INamedElementAccess.INamedElementAccessVisitor
Modifier and Type | Method and Description |
---|---|
void |
accept(INamedElementAccess.INamedElementAccessVisitor visitor)
Internal
|
java.util.List<IAnnotationAccess> |
getAnnotations() |
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() |
isAbstract, isDestructor, isInitializer, isOverriding
getCyclomaticComplexityMetric, getExtendedCyclomaticComplexityMetric, getModifiedCyclomaticComplexityMetric, getModifiedExtendedCyclomaticComplexityMetric, getNumberOfParametersMetric, getNumberOfStatementsMetric, getParameterTypes, getReturnType
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, getShortName, getShortNameWithSignature, hashCode, ignoreIssues, isExcluded, isExternal, toString
isAbstract, isDestructor, isInitializer, isOverriding
getCyclomaticComplexityMetric, getExtendedCyclomaticComplexityMetric, getModifiedCyclomaticComplexityMetric, getModifiedExtendedCyclomaticComplexityMetric, getNumberOfParametersMetric, getNumberOfStatementsMetric
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, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencedElementsRecursively, getReferencingElementsRecursively, getReferencingElementsRecursively
getName, getNameWithSignature, getShortName, getShortNameWithSignature, ignoreIssues, isExcluded, isExternal
public IJavaTypeAccess getParent()
ElementAccess
getParent
in interface INamedElementAccess
getParent
in interface IJavaMethodAccess
getParent
in class ElementAccess<ProgrammingElement>
public java.util.List<IAnnotationAccess> getAnnotations()
getAnnotations
in interface IJavaMethodAccess
public final boolean isStatic()
isStatic
in interface IJavaMethodAccess
public final boolean isFinal()
isFinal
in interface IJavaMethodAccess
public boolean isGeneric()
isGeneric
in interface IJavaMethodAccess
public final boolean isPublic()
isPublic
in interface IJavaMethodAccess
public final boolean isPrivate()
isPrivate
in interface IJavaMethodAccess
public final boolean isProtected()
isProtected
in interface IJavaMethodAccess
public final boolean isPackagePrivate()
isPackagePrivate
in interface IJavaMethodAccess
public final boolean isDeprecated()
isDeprecated
in interface IJavaMethodAccess
public boolean isNative()
isNative
in interface IJavaMethodAccess
public boolean isSynchronized()
isSynchronized
in interface IJavaMethodAccess
public boolean isConstructor()
isConstructor
in interface IJavaMethodAccess
public boolean isStaticBlock()
isStaticBlock
in interface IJavaMethodAccess
public boolean isCompilerGenerated()
isCompilerGenerated
in interface IJavaMethodAccess
public void accept(INamedElementAccess.INamedElementAccessVisitor visitor)
accept
in interface INamedElementAccess
accept
in class MethodAccess
visitor
- The visitor implementation