|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.dom.StructuralPropertyDescriptor
org.eclipse.jdt.core.dom.SimplePropertyDescriptor
Descriptor for a simple property of an AST node.
A simple property is one whose value is a
primitive type (such as int
or boolean
)
or some simple value type (such as String
or
InfixExpression.Operator
).
ASTNode.getStructuralProperty(StructuralPropertyDescriptor)
,
ASTNode.setStructuralProperty(StructuralPropertyDescriptor, Object)
Method Summary | |
---|---|
Class |
getValueType()
Returns the value type of this property. |
boolean |
isMandatory()
Returns whether this property is mandatory. |
Methods inherited from class org.eclipse.jdt.core.dom.StructuralPropertyDescriptor |
---|
getId, getNodeClass, isChildListProperty, isChildProperty, isSimpleProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public Class getValueType()
For example, for a node type like SingleVariableDeclaration,
the "modifiers" property returns int.class
.
public boolean isMandatory()
null
if it is mandatory.
true
if the property is mandatory,
and false
if it is may be null
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |