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, setName
getLocation, setLocation
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLocation, setLocation
public IrDocElementKind getKind()
IrDocElement
public List<? extends IrDocMethodParameter> getParameters()
public void setParameters(List<? extends IrDocMethodParameter> parameters)
parameters
- the parametersIllegalArgumentException
- if the parameter is null
public <R,P> R accept(IrDocElementVisitor<R,P> visitor, P context)
IrDocElement
R
- type of visitor resultP
- type of visitor contextvisitor
- the visitor to call backcontext
- the visitor contextCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.