public class IrDocQualifiedName extends IrDocName
IrDocComment.| Constructor and Description |
|---|
IrDocQualifiedName(IrDocName qualifier,
IrDocSimpleName 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.
|
List<IrDocSimpleName> |
asSimpleNameList()
Returns this name as its simple name list.
|
String |
asString()
Returns this name as string.
|
boolean |
equals(Object obj) |
IrDocElementKind |
getKind()
Returns the element kind.
|
IrDocSimpleName |
getName()
Returns the simple name.
|
IrDocName |
getQualifier()
Returns the name qualifier.
|
int |
hashCode() |
void |
setName(IrDocSimpleName name)
Sets the simple name.
|
void |
setQualifier(IrDocName qualifier)
Sets the name qualifier.
|
String |
toString() |
getLocation, setLocationclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLocation, setLocationpublic IrDocQualifiedName(IrDocName qualifier, IrDocSimpleName name)
qualifier - the name qualifiername - the simple nameIllegalArgumentException - if the parameters are nullpublic IrDocElementKind getKind()
IrDocElementpublic IrDocName getQualifier()
public void setQualifier(IrDocName qualifier)
qualifier - the name qualifierIllegalArgumentException - if the qualifier contains this nameIllegalArgumentException - if the parameter is nullpublic IrDocSimpleName getName()
public void setName(IrDocSimpleName name)
name - the simple nameIllegalArgumentException - if the parameter is nullpublic String asString()
IrDocNamepublic List<IrDocSimpleName> asSimpleNameList()
IrDocNameasSimpleNameList in class IrDocNamepublic <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–2019 Asakusa Framework Team. All rights reserved.