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 null
public AstNode getOriginalAst()
Element
getOriginalAst
in interface Element
null
if unknownpublic ModelSymbol getOwner()
public AstSimpleName getName()
Symbol
getName
in interface Symbol<PropertyDeclaration>
public PropertyDeclaration findDeclaration()
Symbol
findDeclaration
in interface Symbol<PropertyDeclaration>
null
if is not existCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.