public class IrDocNamedType extends AbstractIrDocElement implements IrDocType
IrDocComment.| Constructor and Description |
|---|
IrDocNamedType(IrDocName name)
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.
|
IrDocName |
getName()
Returns the type name.
|
int |
hashCode() |
void |
setName(IrDocName name)
Sets the type name.
|
String |
toString() |
getLocation, setLocationclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLocation, setLocationpublic IrDocNamedType(IrDocName name)
name - the type nameIllegalArgumentException - if the parameter is nullpublic IrDocElementKind getKind()
IrDocElementgetKind in interface IrDocElementpublic IrDocName getName()
public void setName(IrDocName name)
name - the type nameIllegalArgumentException - if the parameter is nullpublic <R,P> R accept(IrDocElementVisitor<R,P> visitor, P context)
IrDocElementaccept in interface IrDocElementR - type of visitor resultP - type of visitor contextvisitor - the visitor to call backcontext - the visitor contextCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.