public class IrDocMethod extends IrDocMember
IrDocComment.| Constructor and Description |
|---|
IrDocMethod()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(IrDocElementVisitor<R,P> visitor,
P context)
Accepts and calls back the visitor.
|
boolean |
equals(Object obj) |
IrDocElementKind |
getKind()
Returns the element kind.
|
List<? extends IrDocMethodParameter> |
getParameters()
Returns the method or constructor parameters.
|
int |
hashCode() |
void |
setParameters(List<? extends IrDocMethodParameter> parameters)
Sets the method or constructor parameters.
|
String |
toString() |
getDeclaringType, getName, setDeclaringType, setNamegetLocation, setLocationclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLocation, setLocationpublic IrDocElementKind getKind()
IrDocElementpublic List<? extends IrDocMethodParameter> getParameters()
public void setParameters(List<? extends IrDocMethodParameter> parameters)
parameters - the parametersIllegalArgumentException - if the parameter is nullpublic <R,P> R accept(IrDocElementVisitor<R,P> visitor, P context)
IrDocElementR - type of visitor resultP - type of visitor contextvisitor - the visitor to call backcontext - the visitor contextCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.