|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.core.dom.ASTNode
org.aspectj.org.eclipse.jdt.core.dom.VariableDeclaration
org.aspectj.org.eclipse.jdt.core.dom.VariableDeclarationFragment
public class VariableDeclarationFragment
Variable declaration fragment AST node type, used in field declarations,
local variable declarations, ForStatement initializers,
and LambdaExpression parameters.
In contrast to SingleVariableDeclaration, fragments are
missing the modifiers and the type; these are either located in the fragment's
parent node, or inferred (for lambda parameters).
VariableDeclarationFragment:
Identifier { Dimension } [ = Expression ]
| Field Summary | |
|---|---|
static SimplePropertyDescriptor |
EXTRA_DIMENSIONS_PROPERTY
Deprecated. in JLS8 and later, use EXTRA_DIMENSIONS2_PROPERTY instead. |
static ChildListPropertyDescriptor |
EXTRA_DIMENSIONS2_PROPERTY
The "extraDimensions2" structural property of this node type (element type: Dimension) (added in JLS8 API). |
static ChildPropertyDescriptor |
INITIALIZER_PROPERTY
The "initializer" structural property of this node type (child type: Expression). |
static ChildPropertyDescriptor |
NAME_PROPERTY
The "name" structural property of this node type (child type: SimpleName). |
| Method Summary | |
|---|---|
static java.util.List |
propertyDescriptors(int apiLevel)
Returns a list of structural property descriptors for this node type. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.VariableDeclaration |
|---|
extraDimensions, getExtraDimensions, getExtraDimensions2Property, getExtraDimensionsProperty, getInitializer, getInitializerProperty, getName, getNameProperty, resolveBinding, setExtraDimensions, setInitializer, setName |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.ASTNode |
|---|
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, hashCode, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ChildPropertyDescriptor NAME_PROPERTY
SimpleName).
public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY
EXTRA_DIMENSIONS2_PROPERTY instead.Integer) (below JLS8 only).
public static final ChildListPropertyDescriptor EXTRA_DIMENSIONS2_PROPERTY
Dimension) (added in JLS8 API).
public static final ChildPropertyDescriptor INITIALIZER_PROPERTY
Expression).
| Method Detail |
|---|
public static java.util.List propertyDescriptors(int apiLevel)
apiLevel - the API level; one of the
AST.JLS* constants
StructuralPropertyDescriptor)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||