@Label(value="Method") public interface MethodDescriptor extends MemberDescriptor, com.buschmais.jqassistant.plugin.common.api.model.NamedDescriptor, AnnotatedDescriptor, AccessModifierDescriptor, AbstractDescriptor
Describes a method of a Java type.
| Modifier and Type | Method and Description |
|---|---|
int |
getCyclomaticComplexity()
Return the cyclomatic complexity of the method.
|
List<TypeDescriptor> |
getDeclaredThrowables()
Return all declared throwables of this method.
|
com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> |
getHasDefault() |
List<InvokesDescriptor> |
getInvokedBy()
Return all invocations of this method by other methods.
|
List<InvokesDescriptor> |
getInvokes()
Return all invocations this method performs.
|
List<ParameterDescriptor> |
getParameters()
Return all declared parameters of this method.
|
List<ReadsDescriptor> |
getReads()
Return all read accesses to fields this method performs.
|
TypeDescriptor |
getReturns()
Return the return type of this method.
|
List<WritesDescriptor> |
getWrites()
Return all write accesses to fields this method performs.
|
Boolean |
isNative()
Return
true if this method is native. |
void |
setCyclomaticComplexity(int cyclomaticComplexity) |
void |
setHasDefault(com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> hasDefault) |
void |
setNative(Boolean nativeMethod) |
void |
setReturns(TypeDescriptor returns) |
getDeclaringType, getSignature, setSignaturegetName, setNamegetAnnotatedBygetVisibility, isFinal, isStatic, isSynthetic, setFinal, setStatic, setSynthetic, setVisibilityisAbstract, setAbstract@Relation(value="HAS") List<ParameterDescriptor> getParameters()
Return all declared parameters of this method.
@Relation(value="RETURNS") TypeDescriptor getReturns()
Return the return type of this method.
void setReturns(TypeDescriptor returns)
@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> getDeclaredThrowables()
Return all declared throwables of this method.
List<ReadsDescriptor> getReads()
Return all read accesses to fields this method performs.
List<WritesDescriptor> getWrites()
Return all write accesses to fields this method performs.
List<InvokesDescriptor> getInvokes()
Return all invocations this method performs.
List<InvokesDescriptor> getInvokedBy()
Return all invocations of this method by other methods.
Boolean isNative()
Return true if this method is native.
true if this method is native.void setNative(Boolean nativeMethod)
int getCyclomaticComplexity()
Return the cyclomatic complexity of the method.
void setCyclomaticComplexity(int cyclomaticComplexity)
Copyright © 2016 buschmais GbR. All rights reserved.