- See Also:
- This class is not intended to be instantiated by clients.
getElementTypepublic final Class getElementType()Returns the element type of this list property.
For example, for a node type like CompilationUnit, the "imports" property returns
- the element type of the property
cycleRiskpublic final boolean cycleRisk()Returns whether this property is vulnerable to cycles.
A property is vulnerable to cycles if a node of the owning type (that is, the type that owns this property) could legally appear in the AST subtree below this property. For example, the body property of a
MethodDeclarationnode admits a body which might include statement that embeds another
MethodDeclarationnode. On the other hand, the name property of a MethodDeclaration node admits only names, and thereby excludes another MethodDeclaration node.
trueif cycles are possible, and
falseif cycles are impossible