@Label(value="Method") public interface MethodDescriptor extends MemberDescriptor, com.buschmais.jqassistant.plugin.common.api.model.NamedDescriptor, AnnotatedDescriptor, AccessModifierDescriptor, AbstractDescriptor
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, setSignature
getName, setName
getAnnotatedBy
getVisibility, isFinal, isStatic, isSynthetic, setFinal, setStatic, setSynthetic, setVisibility
isAbstract, setAbstract
@Relation(value="HAS") List<ParameterDescriptor> getParameters()
@Relation(value="RETURNS") TypeDescriptor getReturns()
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()
List<ReadsDescriptor> getReads()
List<WritesDescriptor> getWrites()
List<InvokesDescriptor> getInvokes()
List<InvokesDescriptor> getInvokedBy()
Boolean isNative()
true
if this method is native.true
if this method is native.void setNative(Boolean nativeMethod)
int getCyclomaticComplexity()
void setCyclomaticComplexity(int cyclomaticComplexity)
Copyright © 2016 buschmais GbR. All rights reserved.