public interface PropertyDecl extends Decl
| Modifier and Type | Interface and Description |
|---|---|
static class |
PropertyDecl.Impl |
static interface |
PropertyDecl.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(Decl.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(PropertyDecl.Visitor<P,R> visitor,
P par) |
Attributes |
getAttributes() |
java.lang.String |
getName() |
TypeDecl |
getOwner() |
Type |
getType() |
static PropertyDecl |
of(TypeDecl owner,
Attributes attributes,
java.lang.String name,
Type type) |
void |
setAttributes(Attributes attributes) |
void |
setName(java.lang.String name) |
void |
setOwner(TypeDecl owner) |
void |
setType(Type type) |
static PropertyDecl of(TypeDecl owner, Attributes attributes, java.lang.String name, Type type)
TypeDecl getOwner()
void setOwner(TypeDecl owner)
Attributes getAttributes()
void setAttributes(Attributes attributes)
java.lang.String getName()
void setName(java.lang.String name)
Type getType()
void setType(Type type)
default <P,R> R accept(PropertyDecl.Visitor<P,R> visitor, P par)
default <P,R> R accept(Decl.Visitor<P,R> visitor, P par)
default <P,R> R accept(Node.Visitor<P,R> visitor, P par)