public class PropertySymbol extends Object implements Symbol<PropertyDeclaration>
| Modifier | Constructor and Description |
|---|---|
protected |
PropertySymbol(ModelSymbol owner,
AstSimpleName name)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PropertyDeclaration |
findDeclaration()
Returns the corresponding declaration.
|
AstSimpleName |
getName()
Returns the name of this symbol.
|
AstNode |
getOriginalAst()
Returns the corresponded syntactic element of this.
|
ModelSymbol |
getOwner()
Returns owner of this property.
|
int |
hashCode() |
String |
toString() |
protected PropertySymbol(ModelSymbol owner, AstSimpleName name)
owner - the owner of this propertyname - the name of this propertyIllegalArgumentException - if some parameters were nullpublic AstNode getOriginalAst()
ElementgetOriginalAst in interface Elementnull if unknownpublic ModelSymbol getOwner()
public AstSimpleName getName()
SymbolgetName in interface Symbol<PropertyDeclaration>public PropertyDeclaration findDeclaration()
SymbolfindDeclaration in interface Symbol<PropertyDeclaration>null if is not existCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.