public abstract class StructuralPropertyDescriptor extends Object
SimplePropertyDescriptor
)
- properties where the value is a primitive (int, boolean)
or simple (String, InfixExprsssion.Operator) type other than an
AST node; for example, the identifier of a SimpleName
ChildPropertyDescriptor
)
- properties whose value is another AST node;
for example, the name of a MethodDeclaration
ChildListPropertyDescriptor
)
- properties where the value is a list of AST nodes;
for example, the statements of a Block
Type | Property and Description |
---|---|
boolean |
isChildList
Gets the value of the property childListProperty.
|
boolean |
isChild
Gets the value of the property childProperty.
|
boolean |
isSimple
Gets the value of the property simpleProperty.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the id of this property.
|
Class |
getNodeClass()
Returns the AST node type that owns this property.
|
boolean |
isChildListProperty()
Gets the value of the property childListProperty.
|
boolean |
isChildProperty()
Gets the value of the property childProperty.
|
boolean |
isSimpleProperty()
Gets the value of the property simpleProperty.
|
String |
toString()
Returns a string suitable for debug purposes.
|
public final boolean isSimpleProperty
public final boolean isChildProperty
public final boolean isChildListProperty
public final String getId()
public final Class getNodeClass()
For example, for all properties of the node type
TypeDeclaration, this method returns TypeDeclaration.class
.
public final boolean isSimpleProperty()
public final boolean isChildProperty()
public final boolean isChildListProperty()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.