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, setLocation
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLocation, setLocation
public IrDocQualifiedName(IrDocName qualifier, IrDocSimpleName name)
qualifier
- the name qualifiername
- the simple nameIllegalArgumentException
- if the parameters are null
public IrDocElementKind getKind()
IrDocElement
public IrDocName getQualifier()
public void setQualifier(IrDocName qualifier)
qualifier
- the name qualifierIllegalArgumentException
- if the qualifier contains this nameIllegalArgumentException
- if the parameter is null
public IrDocSimpleName getName()
public void setName(IrDocSimpleName name)
name
- the simple nameIllegalArgumentException
- if the parameter is null
public String asString()
IrDocName
public List<IrDocSimpleName> asSimpleNameList()
IrDocName
asSimpleNameList
in class IrDocName
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.