@Label(value="Method") public interface MethodDescriptor extends MemberDescriptor, AbstractDescriptor
<p>Describes a method of a Java type.</p>
| Modifier and Type | Method and Description |
|---|---|
int |
getCyclomaticComplexity()
<p>Return the cyclomatic complexity of the method.
|
List<TypeDescriptor> |
getDeclaredInnerClasses() |
int |
getEffectiveLineCount()
<p>Return the number of source code lines containing code.
|
Integer |
getFirstLineNumber()
<p>Return the first line number of the method.
|
com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> |
getHasDefault() |
List<InvokesDescriptor> |
getInvokedBy()
<p>Return all invocations of this method by other methods.
|
List<InvokesDescriptor> |
getInvokes()
<p>Return all invocations this method performs.
|
Integer |
getLastLineNumber()
<p>Return the last line number of the method.
|
List<ParameterDescriptor> |
getParameters()
<p>Return all declared parameters of this method.
|
List<ReadsDescriptor> |
getReads()
<p>Return all read accesses to fields this method performs.
|
TypeDescriptor |
getReturns()
<p>Return the return type of this method.
|
BoundDescriptor |
getReturnsGeneric()
<p>Return the generic return type of this method.
|
List<TypeDescriptor> |
getThrows()
<p>Return all declared throwables of this method.
|
List<BoundDescriptor> |
getThrowsGeneric()
<p>Return all declared generic throwables of this method.
|
List<VariableDescriptor> |
getVariables() |
List<WritesDescriptor> |
getWrites()
<p>Return all write accesses to fields this method performs.
|
Boolean |
isNative()
<p>Return <code>true</code> if this method is native.
|
void |
setCyclomaticComplexity(int cyclomaticComplexity) |
void |
setEffectiveLineCount(int effectiveLineCount) |
void |
setFirstLineNumber(Integer firstLineNumber) |
void |
setHasDefault(com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> hasDefault) |
void |
setLastLineNumber(Integer lastLineNumber) |
void |
setNative(Boolean nativeMethod) |
void |
setReturns(TypeDescriptor returns) |
void |
setReturnsGeneric(BoundDescriptor returnsGeneric) |
getDeclaringTypegetName, setNamegetSignature, setSignaturegetAnnotatedBygetVisibility, isFinal, isStatic, isSynthetic, setFinal, setStatic, setSynthetic, setVisibilityisAbstract, setAbstract@Relation(value="HAS") List<ParameterDescriptor> getParameters()
<p>Return all declared parameters of this method.</p>
@Relation(value="RETURNS") TypeDescriptor getReturns()
<p>Return the return type of this method.</p>
void setReturns(TypeDescriptor returns)
@Relation(value="RETURNS_GENERIC") BoundDescriptor getReturnsGeneric()
<p>Return the generic return type of this method.</p>
void setReturnsGeneric(BoundDescriptor returnsGeneric)
@Relation(value="HAS_DEFAULT") com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> getHasDefault()
void setHasDefault(com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> hasDefault)
@Relation(value="THROWS") List<TypeDescriptor> getThrows()
<p>Return all declared throwables of this method.</p>
@Relation(value="THROWS_GENERIC") List<BoundDescriptor> getThrowsGeneric()
<p>Return all declared generic throwables of this method.</p>
List<ReadsDescriptor> getReads()
<p>Return all read accesses to fields this method performs.</p>
List<WritesDescriptor> getWrites()
<p>Return all write accesses to fields this method performs.</p>
List<InvokesDescriptor> getInvokes()
<p>Return all invocations this method performs.</p>
List<InvokesDescriptor> getInvokedBy()
<p>Return all invocations of this method by other methods.</p>
Boolean isNative()
<p>Return <code>true</code> if this method is native.</p>
void setNative(Boolean nativeMethod)
int getCyclomaticComplexity()
<p>Return the cyclomatic complexity of the method.</p>
void setCyclomaticComplexity(int cyclomaticComplexity)
List<TypeDescriptor> getDeclaredInnerClasses()
List<VariableDescriptor> getVariables()
Integer getFirstLineNumber()
<p>Return the first line number of the method.</p>
void setFirstLineNumber(Integer firstLineNumber)
Integer getLastLineNumber()
<p>Return the last line number of the method.</p>
void setLastLineNumber(Integer lastLineNumber)
int getEffectiveLineCount()
<p>Return the number of source code lines containing code.</p>
void setEffectiveLineCount(int effectiveLineCount)
Copyright © 2016–2022 jQAssistant Development Team. All rights reserved.