View | Details | Raw Unified | Return to bug 322596
Collapse All | Expand All

(-)dom/org/eclipse/jdt/core/dom/ASTMatcher.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 85-95 Link Here
85
	 * </p>
85
	 * </p>
86
	 *
86
	 *
87
	 * @param list1 the first list of AST nodes
87
	 * @param list1 the first list of AST nodes
88
	 *    (element type: <code>ASTNode</code>)
88
	 *    (element type: {@link ASTNode})
89
	 * @param list2 the second list of AST nodes
89
	 * @param list2 the second list of AST nodes
90
	 *    (element type: <code>ASTNode</code>)
90
	 *    (element type: {@link ASTNode})
91
	 * @return <code>true</code> if the lists have the same number of elements
91
	 * @return <code>true</code> if the lists have the same number of elements
92
	 *    and match pair-wise according to <code>ASTNode.subtreeMatch</code>
92
	 *    and match pair-wise according to {@link ASTNode#subtreeMatch(ASTMatcher, Object) ASTNode.subtreeMatch}
93
	 * @see ASTNode#subtreeMatch(ASTMatcher matcher, Object other)
93
	 * @see ASTNode#subtreeMatch(ASTMatcher matcher, Object other)
94
	 */
94
	 */
95
	public final boolean safeSubtreeListMatch(List list1, List list2) {
95
	public final boolean safeSubtreeListMatch(List list1, List list2) {
(-)dom/org/eclipse/jdt/core/dom/ASTNode.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 1099-1105 Link Here
1099
1099
1100
		/**
1100
		/**
1101
		 * The underlying list in which the nodes of this list are
1101
		 * The underlying list in which the nodes of this list are
1102
		 * stored (element type: <code>ASTNode</code>).
1102
		 * stored (element type: {@link ASTNode}).
1103
		 * <p>
1103
		 * <p>
1104
		 * Be stingy on storage - assume that list will be empty.
1104
		 * Be stingy on storage - assume that list will be empty.
1105
		 * </p>
1105
		 * </p>
Lines 1171-1177 Link Here
1171
1171
1172
		/**
1172
		/**
1173
		 * A list of currently active cursors (element type:
1173
		 * A list of currently active cursors (element type:
1174
		 * <code>Cursor</code>), or <code>null</code> if there are no
1174
		 * {@link Cursor}), or <code>null</code> if there are no
1175
		 * active cursors.
1175
		 * active cursors.
1176
		 * <p>
1176
		 * <p>
1177
		 * It is important for storage considerations to maintain the
1177
		 * It is important for storage considerations to maintain the
Lines 1753-1759 Link Here
1753
	 * @param propertyList list beginning with the AST node class
1753
	 * @param propertyList list beginning with the AST node class
1754
	 * followed by accumulated structural property descriptors
1754
	 * followed by accumulated structural property descriptors
1755
	 * @return unmodifiable list of structural property descriptors
1755
	 * @return unmodifiable list of structural property descriptors
1756
	 * (element type: <code>StructuralPropertyDescriptor</code>)
1756
	 * (element type: {@link StructuralPropertyDescriptor})
1757
	 */
1757
	 */
1758
	static List reapPropertyList(List propertyList) {
1758
	static List reapPropertyList(List propertyList) {
1759
		propertyList.remove(0); // remove nodeClass
1759
		propertyList.remove(0); // remove nodeClass
Lines 2406-2414 Link Here
2406
	 *
2406
	 *
2407
	 * @param target the AST that is to own the nodes in the result
2407
	 * @param target the AST that is to own the nodes in the result
2408
	 * @param nodes the list of nodes to copy
2408
	 * @param nodes the list of nodes to copy
2409
	 *    (element type: <code>ASTNode</code>)
2409
	 *    (element type: {@link ASTNode})
2410
	 * @return the list of copied subtrees
2410
	 * @return the list of copied subtrees
2411
	 *    (element type: <code>ASTNode</code>)
2411
	 *    (element type: {@link ASTNode})
2412
	 */
2412
	 */
2413
	public static List copySubtrees(AST target, List nodes) {
2413
	public static List copySubtrees(AST target, List nodes) {
2414
		List result = new ArrayList(nodes.size());
2414
		List result = new ArrayList(nodes.size());
(-)dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java (-12 / +12 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2009 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 29-42 Link Here
29
	/**
29
	/**
30
	 * The type name; lazily initialized; defaults to a unspecified,
30
	 * The type name; lazily initialized; defaults to a unspecified,
31
	 * legal Java class identifier.
31
	 * legal Java class identifier.
32
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
32
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
33
	 */
33
	 */
34
	SimpleName typeName = null;
34
	SimpleName typeName = null;
35
35
36
	/**
36
	/**
37
	 * The body declarations (element type: <code>BodyDeclaration</code>).
37
	 * The body declarations (element type: {@link BodyDeclaration}).
38
	 * Defaults to an empty list.
38
	 * Defaults to an empty list.
39
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
39
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
40
	 */
40
	 */
41
	ASTNode.NodeList bodyDeclarations;
41
	ASTNode.NodeList bodyDeclarations;
42
42
Lines 80-86 Link Here
80
80
81
	/**
81
	/**
82
	 * Creates and returns a structural property descriptor for the
82
	 * Creates and returns a structural property descriptor for the
83
	 * "bodyDeclaration" property declared on the given concrete node type.
83
	 * "bodyDeclaration" property declared on the given concrete node type (element type: {@link BodyDeclaration}).
84
	 *
84
	 *
85
	 * @return the property descriptor
85
	 * @return the property descriptor
86
	 */
86
	 */
Lines 90-96 Link Here
90
90
91
	/**
91
	/**
92
	 * Creates and returns a structural property descriptor for the
92
	 * Creates and returns a structural property descriptor for the
93
	 * "name" property declared on the given concrete node type.
93
	 * "name" property declared on the given concrete node type (child type: {@link SimpleName}).
94
	 *
94
	 *
95
	 * @return the property descriptor
95
	 * @return the property descriptor
96
	 */
96
	 */
Lines 118-124 Link Here
118
	 * Returns the name of the type declared in this type declaration.
118
	 * Returns the name of the type declared in this type declaration.
119
	 *
119
	 *
120
	 * @return the type name node
120
	 * @return the type name node
121
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
121
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
122
	 */
122
	 */
123
	public SimpleName getName() {
123
	public SimpleName getName() {
124
		if (this.typeName == null) {
124
		if (this.typeName == null) {
Lines 144-150 Link Here
144
	 * <li>the node belongs to a different AST</li>
144
	 * <li>the node belongs to a different AST</li>
145
	 * <li>the node already has a parent</li>
145
	 * <li>the node already has a parent</li>
146
	 * </ul>
146
	 * </ul>
147
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
147
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
148
	 */
148
	 */
149
	public void setName(SimpleName typeName) {
149
	public void setName(SimpleName typeName) {
150
		if (typeName == null) {
150
		if (typeName == null) {
Lines 162-169 Link Here
162
	 * declaration.
162
	 * declaration.
163
	 *
163
	 *
164
	 * @return the live list of body declarations
164
	 * @return the live list of body declarations
165
	 *    (element type: <code>BodyDeclaration</code>)
165
	 *    (element type: {@link BodyDeclaration})
166
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
166
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
167
	 */
167
	 */
168
	public List bodyDeclarations() {
168
	public List bodyDeclarations() {
169
		return this.bodyDeclarations;
169
		return this.bodyDeclarations;
Lines 179-185 Link Here
179
	 *
179
	 *
180
	 * @return <code>true</code> if this type declaration is a child of
180
	 * @return <code>true</code> if this type declaration is a child of
181
	 *   a compilation unit node, and <code>false</code> otherwise
181
	 *   a compilation unit node, and <code>false</code> otherwise
182
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
182
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
183
	 */
183
	 */
184
	public boolean isPackageMemberTypeDeclaration() {
184
	public boolean isPackageMemberTypeDeclaration() {
185
		ASTNode parent = getParent();
185
		ASTNode parent = getParent();
Lines 197-203 Link Here
197
	 * @return <code>true</code> if this type declaration is a child of
197
	 * @return <code>true</code> if this type declaration is a child of
198
	 *   a type declaration node or an anonymous class declaration node,
198
	 *   a type declaration node or an anonymous class declaration node,
199
	 *   and <code>false</code> otherwise
199
	 *   and <code>false</code> otherwise
200
	 * @since 2.0 (originally declared on <code>TypeDeclaration</code>)
200
	 * @since 2.0 (originally declared on {@link TypeDeclaration})
201
	 */
201
	 */
202
	public boolean isMemberTypeDeclaration() {
202
	public boolean isMemberTypeDeclaration() {
203
		ASTNode parent = getParent();
203
		ASTNode parent = getParent();
(-)dom/org/eclipse/jdt/core/dom/Annotation.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2009 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 44-50 Link Here
44
44
45
	/**
45
	/**
46
	 * Creates and returns a structural property descriptor for the
46
	 * Creates and returns a structural property descriptor for the
47
	 * "typeName" property declared on the given concrete node type.
47
	 * "typeName" property declared on the given concrete node type (child type: {@link Name}).
48
	 *
48
	 *
49
	 * @return the property descriptor
49
	 * @return the property descriptor
50
	 */
50
	 */
(-)dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 52-70 Link Here
52
		internalModifiers2PropertyFactory(AnnotationTypeMemberDeclaration.class);
52
		internalModifiers2PropertyFactory(AnnotationTypeMemberDeclaration.class);
53
53
54
	/**
54
	/**
55
	 * The "name" structural property of this node type.
55
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
56
	 */
56
	 */
57
	public static final ChildPropertyDescriptor NAME_PROPERTY =
57
	public static final ChildPropertyDescriptor NAME_PROPERTY =
58
		new ChildPropertyDescriptor(AnnotationTypeMemberDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
58
		new ChildPropertyDescriptor(AnnotationTypeMemberDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
59
59
60
	/**
60
	/**
61
	 * The "type" structural property of this node type.
61
	 * The "type" structural property of this node type (child type: {@link Type}).
62
	 */
62
	 */
63
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
63
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
64
		new ChildPropertyDescriptor(AnnotationTypeMemberDeclaration.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
64
		new ChildPropertyDescriptor(AnnotationTypeMemberDeclaration.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
65
65
66
	/**
66
	/**
67
	 * The "default" structural property of this node type.
67
	 * The "default" structural property of this node type (child type: {@link Expression}).
68
	 */
68
	 */
69
	public static final ChildPropertyDescriptor DEFAULT_PROPERTY =
69
	public static final ChildPropertyDescriptor DEFAULT_PROPERTY =
70
		new ChildPropertyDescriptor(AnnotationTypeMemberDeclaration.class, "default", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
70
		new ChildPropertyDescriptor(AnnotationTypeMemberDeclaration.class, "default", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
(-)dom/org/eclipse/jdt/core/dom/AnonymousClassDeclaration.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 32-38 Link Here
32
public class AnonymousClassDeclaration extends ASTNode {
32
public class AnonymousClassDeclaration extends ASTNode {
33
33
34
	/**
34
	/**
35
	 * The "bodyDeclarations" structural property of this node type.
35
	 * The "bodyDeclarations" structural property of this node type (element type: {@link BodyDeclaration}).
36
	 * @since 3.0
36
	 * @since 3.0
37
	 */
37
	 */
38
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
38
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
Lines 68-74 Link Here
68
	}
68
	}
69
69
70
	/**
70
	/**
71
	 * The body declarations (element type: <code>BodyDeclaration</code>).
71
	 * The body declarations (element type: {@link BodyDeclaration}).
72
	 * Defaults to none.
72
	 * Defaults to none.
73
	 */
73
	 */
74
	private ASTNode.NodeList bodyDeclarations =
74
	private ASTNode.NodeList bodyDeclarations =
Lines 150-156 Link Here
150
	 * anonymous class declaration.
150
	 * anonymous class declaration.
151
	 *
151
	 *
152
	 * @return the live list of body declarations
152
	 * @return the live list of body declarations
153
	 *    (element type: <code>BodyDeclaration</code>)
153
	 *    (element type: {@link BodyDeclaration})
154
	 */
154
	 */
155
	public List bodyDeclarations() {
155
	public List bodyDeclarations() {
156
		return this.bodyDeclarations;
156
		return this.bodyDeclarations;
(-)dom/org/eclipse/jdt/core/dom/ArrayAccess.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class ArrayAccess extends Expression {
28
public class ArrayAccess extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "array" structural property of this node type.
31
	 * The "array" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor ARRAY_PROPERTY =
34
	public static final ChildPropertyDescriptor ARRAY_PROPERTY =
35
		new ChildPropertyDescriptor(ArrayAccess.class, "array", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(ArrayAccess.class, "array", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "index" structural property of this node type.
38
	 * The "index" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor INDEX_PROPERTY =
41
	public static final ChildPropertyDescriptor INDEX_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/ArrayCreation.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 49-69 Link Here
49
public class ArrayCreation extends Expression {
49
public class ArrayCreation extends Expression {
50
50
51
	/**
51
	/**
52
	 * The "type" structural property of this node type.
52
	 * The "type" structural property of this node type (child type: {@link ArrayType}).
53
	 * @since 3.0
53
	 * @since 3.0
54
	 */
54
	 */
55
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
55
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
56
		new ChildPropertyDescriptor(ArrayCreation.class, "type", ArrayType.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
56
		new ChildPropertyDescriptor(ArrayCreation.class, "type", ArrayType.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
57
57
58
	/**
58
	/**
59
	 * The "dimensions" structural property of this node type.
59
	 * The "dimensions" structural property of this node type (element type: {@link Expression}).
60
	 * @since 3.0
60
	 * @since 3.0
61
	 */
61
	 */
62
	public static final ChildListPropertyDescriptor DIMENSIONS_PROPERTY =
62
	public static final ChildListPropertyDescriptor DIMENSIONS_PROPERTY =
63
		new ChildListPropertyDescriptor(ArrayCreation.class, "dimensions", Expression.class, CYCLE_RISK); //$NON-NLS-1$
63
		new ChildListPropertyDescriptor(ArrayCreation.class, "dimensions", Expression.class, CYCLE_RISK); //$NON-NLS-1$
64
64
65
	/**
65
	/**
66
	 * The "initializer" structural property of this node type.
66
	 * The "initializer" structural property of this node type (child type: {@link ArrayInitializer}).
67
	 * @since 3.0
67
	 * @since 3.0
68
	 */
68
	 */
69
	public static final ChildPropertyDescriptor INITIALIZER_PROPERTY =
69
	public static final ChildPropertyDescriptor INITIALIZER_PROPERTY =
Lines 108-114 Link Here
108
108
109
	/**
109
	/**
110
	 * The list of dimension expressions (element type:
110
	 * The list of dimension expressions (element type:
111
	 * <code>Expression</code>). Defaults to an empty list.
111
	 * {@link Expression}). Defaults to an empty list.
112
	 */
112
	 */
113
	private ASTNode.NodeList dimensions =
113
	private ASTNode.NodeList dimensions =
114
		new ASTNode.NodeList(DIMENSIONS_PROPERTY);
114
		new ASTNode.NodeList(DIMENSIONS_PROPERTY);
Lines 261-267 Link Here
261
	 * initializer.
261
	 * initializer.
262
	 *
262
	 *
263
	 * @return the live list of dimension expressions
263
	 * @return the live list of dimension expressions
264
	 *    (element type: <code>Expression</code>)
264
	 *    (element type: {@link Expression})
265
	 */
265
	 */
266
	public List dimensions() {
266
	public List dimensions() {
267
		return this.dimensions;
267
		return this.dimensions;
(-)dom/org/eclipse/jdt/core/dom/ArrayInitializer.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class ArrayInitializer extends Expression {
28
public class ArrayInitializer extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "expressions" structural property of this node type.
31
	 * The "expressions" structural property of this node type (element type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildListPropertyDescriptor EXPRESSIONS_PROPERTY =
34
	public static final ChildListPropertyDescriptor EXPRESSIONS_PROPERTY =
Lines 65-71 Link Here
65
65
66
	/**
66
	/**
67
	 * The list of expressions (element type:
67
	 * The list of expressions (element type:
68
	 * <code>Expression</code>). Defaults to an empty list.
68
	 * {@link Expression}). Defaults to an empty list.
69
	 */
69
	 */
70
	private ASTNode.NodeList expressions =
70
	private ASTNode.NodeList expressions =
71
		new ASTNode.NodeList(EXPRESSIONS_PROPERTY);
71
		new ASTNode.NodeList(EXPRESSIONS_PROPERTY);
Lines 138-144 Link Here
138
	 * Returns the live ordered list of expressions in this array initializer.
138
	 * Returns the live ordered list of expressions in this array initializer.
139
	 *
139
	 *
140
	 * @return the live list of expressions
140
	 * @return the live list of expressions
141
	 *    (element type: <code>Expression</code>)
141
	 *    (element type: {@link Expression})
142
	 */
142
	 */
143
	public List expressions() {
143
	public List expressions() {
144
		return this.expressions;
144
		return this.expressions;
(-)dom/org/eclipse/jdt/core/dom/ArrayType.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 30-36 Link Here
30
public class ArrayType extends Type {
30
public class ArrayType extends Type {
31
31
32
	/**
32
	/**
33
	 * The "componentType" structural property of this node type.
33
	 * The "componentType" structural property of this node type (child type: {@link Type}).
34
	 * @since 3.0
34
	 * @since 3.0
35
	 */
35
	 */
36
	public static final ChildPropertyDescriptor COMPONENT_TYPE_PROPERTY =
36
	public static final ChildPropertyDescriptor COMPONENT_TYPE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/AssertStatement.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class AssertStatement extends Statement {
28
public class AssertStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
35
		new ChildPropertyDescriptor(AssertStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(AssertStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "message" structural property of this node type.
38
	 * The "message" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor MESSAGE_PROPERTY =
41
	public static final ChildPropertyDescriptor MESSAGE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/Assignment.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 148-168 Link Here
148
	}
148
	}
149
149
150
	/**
150
	/**
151
	 * The "leftHandSide" structural property of this node type.
151
	 * The "leftHandSide" structural property of this node type (child type: {@link Expression}).
152
	 * @since 3.0
152
	 * @since 3.0
153
	 */
153
	 */
154
	public static final ChildPropertyDescriptor LEFT_HAND_SIDE_PROPERTY =
154
	public static final ChildPropertyDescriptor LEFT_HAND_SIDE_PROPERTY =
155
		new ChildPropertyDescriptor(Assignment.class, "leftHandSide", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
155
		new ChildPropertyDescriptor(Assignment.class, "leftHandSide", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
156
156
157
	/**
157
	/**
158
	 * The "operator" structural property of this node type.
158
	 * The "operator" structural property of this node type (type: {@link Assignment.Operator}).
159
	 * @since 3.0
159
	 * @since 3.0
160
	 */
160
	 */
161
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
161
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
162
		new SimplePropertyDescriptor(Assignment.class, "operator", Assignment.Operator.class, MANDATORY); //$NON-NLS-1$
162
		new SimplePropertyDescriptor(Assignment.class, "operator", Assignment.Operator.class, MANDATORY); //$NON-NLS-1$
163
163
164
	/**
164
	/**
165
	 * The "rightHandSide" structural property of this node type.
165
	 * The "rightHandSide" structural property of this node type (child type: {@link Expression}).
166
	 * @since 3.0
166
	 * @since 3.0
167
	 */
167
	 */
168
	public static final ChildPropertyDescriptor RIGHT_HAND_SIDE_PROPERTY =
168
	public static final ChildPropertyDescriptor RIGHT_HAND_SIDE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/Block.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class Block extends Statement {
28
public class Block extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "statements" structural property of this node type.
31
	 * The "statements" structural property of this node type (element type: {@link Statement}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildListPropertyDescriptor STATEMENTS_PROPERTY =
34
	public static final ChildListPropertyDescriptor STATEMENTS_PROPERTY =
Lines 63-69 Link Here
63
	}
63
	}
64
64
65
	/**
65
	/**
66
	 * The list of statements (element type: <code>Statement</code>).
66
	 * The list of statements (element type: {@link Statement}).
67
	 * Defaults to an empty list.
67
	 * Defaults to an empty list.
68
	 */
68
	 */
69
	private ASTNode.NodeList statements =
69
	private ASTNode.NodeList statements =
Lines 146-152 Link Here
146
	 * exception.
146
	 * exception.
147
	 *
147
	 *
148
	 * @return the live list of statements in this block
148
	 * @return the live list of statements in this block
149
	 *    (element type: <code>Statement</code>)
149
	 *    (element type: {@link Statement})
150
	 */
150
	 */
151
	public List statements() {
151
	public List statements() {
152
		return this.statements;
152
		return this.statements;
(-)dom/org/eclipse/jdt/core/dom/BodyDeclaration.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 70-76 Link Here
70
	private int modifierFlags = Modifier.NONE;
70
	private int modifierFlags = Modifier.NONE;
71
71
72
	/**
72
	/**
73
	 * The extended modifiers (element type: <code>IExtendedModifier</code>).
73
	 * The extended modifiers (element type: {@link IExtendedModifier}).
74
	 * Null in JLS2. Added in JLS3; defaults to an empty list
74
	 * Null in JLS2. Added in JLS3; defaults to an empty list
75
	 * (see constructor).
75
	 * (see constructor).
76
	 *
76
	 *
Lines 127-133 Link Here
127
127
128
	/**
128
	/**
129
	 * Creates and returns a structural property descriptor for the
129
	 * Creates and returns a structural property descriptor for the
130
	 * "javadoc" property declared on the given concrete node type.
130
	 * "javadoc" property declared on the given concrete node type (child type: {@link Javadoc}).
131
	 *
131
	 *
132
	 * @return the property descriptor
132
	 * @return the property descriptor
133
	 */
133
	 */
Lines 137-143 Link Here
137
137
138
	/**
138
	/**
139
	 * Creates and returns a structural property descriptor for the
139
	 * Creates and returns a structural property descriptor for the
140
	 * "modifiers" property declared on the given concrete node type.
140
	 * "modifiers" property declared on the given concrete node type (type: {@link Integer}).
141
	 *
141
	 *
142
	 * @return the property descriptor
142
	 * @return the property descriptor
143
	 */
143
	 */
Lines 147-153 Link Here
147
147
148
	/**
148
	/**
149
	 * Creates and returns a structural property descriptor for the
149
	 * Creates and returns a structural property descriptor for the
150
	 * "modifiers" property declared on the given concrete node type.
150
	 * "modifiers" property declared on the given concrete node type (element type: {@link IExtendedModifier}).
151
	 *
151
	 *
152
	 * @return the property descriptor
152
	 * @return the property descriptor
153
	 */
153
	 */
Lines 259-265 Link Here
259
	 * of this declaration (added in JLS3 API).
259
	 * of this declaration (added in JLS3 API).
260
	 *
260
	 *
261
	 * @return the live list of modifiers and annotations
261
	 * @return the live list of modifiers and annotations
262
	 *    (element type: <code>IExtendedModifier</code>)
262
	 *    (element type: {@link IExtendedModifier})
263
	 * @exception UnsupportedOperationException if this operation is used in
263
	 * @exception UnsupportedOperationException if this operation is used in
264
	 * a JLS2 AST
264
	 * a JLS2 AST
265
	 * @since 3.1
265
	 * @since 3.1
(-)dom/org/eclipse/jdt/core/dom/BooleanLiteral.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 29-35 Link Here
29
public class BooleanLiteral extends Expression {
29
public class BooleanLiteral extends Expression {
30
30
31
	/**
31
	/**
32
	 * The "booleanValue" structural property of this node type.
32
	 * The "booleanValue" structural property of this node type (type: {@link Boolean}).
33
	 * @since 3.0
33
	 * @since 3.0
34
	 */
34
	 */
35
	public static final SimplePropertyDescriptor BOOLEAN_VALUE_PROPERTY =
35
	public static final SimplePropertyDescriptor BOOLEAN_VALUE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/BreakStatement.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class BreakStatement extends Statement {
28
public class BreakStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "label" structural property of this node type.
31
	 * The "label" structural property of this node type (child type: {@link SimpleName}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor LABEL_PROPERTY =
34
	public static final ChildPropertyDescriptor LABEL_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/CastExpression.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class CastExpression extends Expression {
28
public class CastExpression extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "type" structural property of this node type.
31
	 * The "type" structural property of this node type (child type: {@link Type}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
34
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
35
		new ChildPropertyDescriptor(CastExpression.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(CastExpression.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "expression" structural property of this node type.
38
	 * The "expression" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/CatchClause.java (-2 / +2 lines)
Lines 29-42 Link Here
29
public class CatchClause extends ASTNode {
29
public class CatchClause extends ASTNode {
30
30
31
	/**
31
	/**
32
	 * The "exception" structural property of this node type.
32
	 * The "exception" structural property of this node type (child type: {@link SingleVariableDeclaration}).
33
	 * @since 3.0
33
	 * @since 3.0
34
	 */
34
	 */
35
	public static final ChildPropertyDescriptor EXCEPTION_PROPERTY =
35
	public static final ChildPropertyDescriptor EXCEPTION_PROPERTY =
36
		new ChildPropertyDescriptor(CatchClause.class, "exception", SingleVariableDeclaration.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
		new ChildPropertyDescriptor(CatchClause.class, "exception", SingleVariableDeclaration.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
37
37
38
	/**
38
	/**
39
	 * The "body" structural property of this node type.
39
	 * The "body" structural property of this node type (child type: {@link Block}).
40
	 * @since 3.0
40
	 * @since 3.0
41
	 */
41
	 */
42
	public static final ChildPropertyDescriptor BODY_PROPERTY =
42
	public static final ChildPropertyDescriptor BODY_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/CharacterLiteral.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class CharacterLiteral extends Expression {
28
public class CharacterLiteral extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "escapedValue" structural property of this node type.
31
	 * The "escapedValue" structural property of this node type (type: {@link String}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final SimplePropertyDescriptor ESCAPED_VALUE_PROPERTY =
34
	public static final SimplePropertyDescriptor ESCAPED_VALUE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/ClassInstanceCreation.java (-11 / +11 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 63-104 Link Here
63
public class ClassInstanceCreation extends Expression {
63
public class ClassInstanceCreation extends Expression {
64
64
65
	/**
65
	/**
66
	 * The "typeArguments" structural property of this node type (added in JLS3 API).
66
	 * The "typeArguments" structural property of this node type (element type: {@link Type}) (added in JLS3 API).
67
	 * @since 3.1
67
	 * @since 3.1
68
	 */
68
	 */
69
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
69
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
70
		new ChildListPropertyDescriptor(ClassInstanceCreation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
70
		new ChildListPropertyDescriptor(ClassInstanceCreation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
71
71
72
	/**
72
	/**
73
	 * The "expression" structural property of this node type.
73
	 * The "expression" structural property of this node type (child type: {@link Expression}).
74
	 * @since 3.0
74
	 * @since 3.0
75
	 */
75
	 */
76
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
76
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
77
		new ChildPropertyDescriptor(ClassInstanceCreation.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
77
		new ChildPropertyDescriptor(ClassInstanceCreation.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
78
78
79
	/**
79
	/**
80
	 * The "name" structural property of this node type (JLS2 API only).
80
	 * The "name" structural property of this node type (child type: {@link Name}) (JLS2 API only).
81
	 * @since 3.0
81
	 * @since 3.0
82
	 */
82
	 */
83
	public static final ChildPropertyDescriptor NAME_PROPERTY =
83
	public static final ChildPropertyDescriptor NAME_PROPERTY =
84
		new ChildPropertyDescriptor(ClassInstanceCreation.class, "name", Name.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
84
		new ChildPropertyDescriptor(ClassInstanceCreation.class, "name", Name.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
85
85
86
	/**
86
	/**
87
	 * The "type" structural property of this node type (added in JLS3 API).
87
	 * The "type" structural property of this node type (child type: {@link Type}) (added in JLS3 API).
88
	 * @since 3.1
88
	 * @since 3.1
89
	 */
89
	 */
90
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
90
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
91
		new ChildPropertyDescriptor(ClassInstanceCreation.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
91
		new ChildPropertyDescriptor(ClassInstanceCreation.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
92
92
93
	/**
93
	/**
94
	 * The "arguments" structural property of this node type.
94
	 * The "arguments" structural property of this node type (element type: {@link Expression}).
95
	 * @since 3.0
95
	 * @since 3.0
96
	 */
96
	 */
97
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
97
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
98
		new ChildListPropertyDescriptor(ClassInstanceCreation.class, "arguments", Expression.class, CYCLE_RISK); //$NON-NLS-1$
98
		new ChildListPropertyDescriptor(ClassInstanceCreation.class, "arguments", Expression.class, CYCLE_RISK); //$NON-NLS-1$
99
99
100
	/**
100
	/**
101
	 * The "anonymousClassDeclaration" structural property of this node type.
101
	 * The "anonymousClassDeclaration" structural property of this node type (child type: {@link AnonymousClassDeclaration}).
102
	 * @since 3.0
102
	 * @since 3.0
103
	 */
103
	 */
104
	public static final ChildPropertyDescriptor ANONYMOUS_CLASS_DECLARATION_PROPERTY =
104
	public static final ChildPropertyDescriptor ANONYMOUS_CLASS_DECLARATION_PROPERTY =
Lines 164-170 Link Here
164
	private Expression optionalExpression = null;
164
	private Expression optionalExpression = null;
165
165
166
	/**
166
	/**
167
	 * The type arguments (element type: <code>Type</code>).
167
	 * The type arguments (element type: {@link Type}).
168
	 * Null in JLS2. Added in JLS3; defaults to an empty list
168
	 * Null in JLS2. Added in JLS3; defaults to an empty list
169
	 * (see constructor).
169
	 * (see constructor).
170
	 * @since 3.1
170
	 * @since 3.1
Lines 185-191 Link Here
185
185
186
	/**
186
	/**
187
	 * The list of argument expressions (element type:
187
	 * The list of argument expressions (element type:
188
	 * <code>Expression</code>). Defaults to an empty list.
188
	 * {@link Expression}). Defaults to an empty list.
189
	 */
189
	 */
190
	private ASTNode.NodeList arguments =
190
	private ASTNode.NodeList arguments =
191
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
191
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
Lines 373-379 Link Here
373
	 * instance creation (added in JLS3 API).
373
	 * instance creation (added in JLS3 API).
374
	 *
374
	 *
375
	 * @return the live list of type arguments
375
	 * @return the live list of type arguments
376
	 *    (element type: <code>Type</code>)
376
	 *    (element type: {@link Type})
377
	 * @exception UnsupportedOperationException if this operation is used in
377
	 * @exception UnsupportedOperationException if this operation is used in
378
	 * a JLS2 AST
378
	 * a JLS2 AST
379
	 * @since 3.1
379
	 * @since 3.1
Lines 511-517 Link Here
511
	 * instance creation expression.
511
	 * instance creation expression.
512
	 *
512
	 *
513
	 * @return the live list of argument expressions (possibly empty)
513
	 * @return the live list of argument expressions (possibly empty)
514
	 *    (element type: <code>Expression</code>)
514
	 *    (element type: {@link Expression})
515
	 */
515
	 */
516
	public List arguments() {
516
	public List arguments() {
517
		return this.arguments;
517
		return this.arguments;
(-)dom/org/eclipse/jdt/core/dom/CompilationUnit.java (-5 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 63-69 Link Here
63
	private static final IProblem[] EMPTY_PROBLEMS = new IProblem[0];
63
	private static final IProblem[] EMPTY_PROBLEMS = new IProblem[0];
64
64
65
	/**
65
	/**
66
	 * The "imports" structural property of this node type.
66
	 * The "imports" structural property of this node type (element type: {@link ImportDeclaration}).
67
	 *
67
	 *
68
	 * @since 3.0
68
	 * @since 3.0
69
	 */
69
	 */
Lines 71-77 Link Here
71
		new ChildListPropertyDescriptor(CompilationUnit.class, "imports", ImportDeclaration.class, NO_CYCLE_RISK); //$NON-NLS-1$
71
		new ChildListPropertyDescriptor(CompilationUnit.class, "imports", ImportDeclaration.class, NO_CYCLE_RISK); //$NON-NLS-1$
72
72
73
	/**
73
	/**
74
	 * The "package" structural property of this node type.
74
	 * The "package" structural property of this node type (child type: {@link PackageDeclaration}).
75
	 *
75
	 *
76
	 * @since 3.0
76
	 * @since 3.0
77
	 */
77
	 */
Lines 87-93 Link Here
87
	private static final List PROPERTY_DESCRIPTORS;
87
	private static final List PROPERTY_DESCRIPTORS;
88
88
89
	/**
89
	/**
90
	 * The "types" structural property of this node type.
90
	 * The "types" structural property of this node type (element type: {@link AbstractTypeDeclaration}).
91
	 *
91
	 *
92
	 * @since 3.0
92
	 * @since 3.0
93
	 */
93
	 */
Lines 154-160 Link Here
154
	private Message[] messages;
154
	private Message[] messages;
155
155
156
	/**
156
	/**
157
	 * The comment list (element type: <code>Comment</code>,
157
	 * The comment list (element type: {@link Comment},
158
	 * or <code>null</code> if none; initially <code>null</code>.
158
	 * or <code>null</code> if none; initially <code>null</code>.
159
	 * @since 3.0
159
	 * @since 3.0
160
	 */
160
	 */
(-)dom/org/eclipse/jdt/core/dom/ConditionalExpression.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-48 Link Here
28
public class ConditionalExpression extends Expression {
28
public class ConditionalExpression extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
35
		new ChildPropertyDescriptor(ConditionalExpression.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(ConditionalExpression.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "thenExpression" structural property of this node type.
38
	 * The "thenExpression" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor THEN_EXPRESSION_PROPERTY =
41
	public static final ChildPropertyDescriptor THEN_EXPRESSION_PROPERTY =
42
		new ChildPropertyDescriptor(ConditionalExpression.class, "thenExpression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
42
		new ChildPropertyDescriptor(ConditionalExpression.class, "thenExpression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
43
43
44
	/**
44
	/**
45
	 * The "elseExpression" structural property of this node type.
45
	 * The "elseExpression" structural property of this node type (child type: {@link Expression}).
46
	 * @since 3.0
46
	 * @since 3.0
47
	 */
47
	 */
48
	public static final ChildPropertyDescriptor ELSE_EXPRESSION_PROPERTY =
48
	public static final ChildPropertyDescriptor ELSE_EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/ConstructorInvocation.java (-7 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 34-47 Link Here
34
public class ConstructorInvocation extends Statement {
34
public class ConstructorInvocation extends Statement {
35
35
36
	/**
36
	/**
37
	 * The "typeArguments" structural property of this node type (added in JLS3 API).
37
	 * The "typeArguments" structural property of this node type (element type: {@link Type}) (added in JLS3 API).
38
	 * @since 3.1
38
	 * @since 3.1
39
	 */
39
	 */
40
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
40
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
41
		new ChildListPropertyDescriptor(ConstructorInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
41
		new ChildListPropertyDescriptor(ConstructorInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
42
42
43
	/**
43
	/**
44
	 * The "arguments" structural property of this node type.
44
	 * The "arguments" structural property of this node type (element type: {@link Expression}).
45
	 * @since 3.0
45
	 * @since 3.0
46
	 */
46
	 */
47
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
47
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
Lines 96-102 Link Here
96
	}
96
	}
97
97
98
	/**
98
	/**
99
	 * The type arguments (element type: <code>Type</code>).
99
	 * The type arguments (element type: {@link Type}).
100
	 * Null in JLS2. Added in JLS3; defaults to an empty list
100
	 * Null in JLS2. Added in JLS3; defaults to an empty list
101
	 * (see constructor).
101
	 * (see constructor).
102
	 * @since 3.1
102
	 * @since 3.1
Lines 105-111 Link Here
105
105
106
	/**
106
	/**
107
	 * The list of argument expressions (element type:
107
	 * The list of argument expressions (element type:
108
	 * <code>Expression</code>). Defaults to an empty list.
108
	 * {@link Expression}). Defaults to an empty list.
109
	 */
109
	 */
110
	private ASTNode.NodeList arguments =
110
	private ASTNode.NodeList arguments =
111
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
111
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
Lines 192-198 Link Here
192
	 * invocation (added in JLS3 API).
192
	 * invocation (added in JLS3 API).
193
	 *
193
	 *
194
	 * @return the live list of type arguments
194
	 * @return the live list of type arguments
195
	 *    (element type: <code>Type</code>)
195
	 *    (element type: {@link Type})
196
	 * @exception UnsupportedOperationException if this operation is used in
196
	 * @exception UnsupportedOperationException if this operation is used in
197
	 * a JLS2 AST
197
	 * a JLS2 AST
198
	 * @since 3.1
198
	 * @since 3.1
Lines 210-216 Link Here
210
	 * constructor invocation statement.
210
	 * constructor invocation statement.
211
	 *
211
	 *
212
	 * @return the live list of argument expressions
212
	 * @return the live list of argument expressions
213
	 *    (element type: <code>Expression</code>)
213
	 *    (element type: {@link Expression})
214
	 */
214
	 */
215
	public List arguments() {
215
	public List arguments() {
216
		return this.arguments;
216
		return this.arguments;
(-)dom/org/eclipse/jdt/core/dom/ContinueStatement.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class ContinueStatement extends Statement {
28
public class ContinueStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "label" structural property of this node type.
31
	 * The "label" structural property of this node type (child type: {@link SimpleName}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor LABEL_PROPERTY =
34
	public static final ChildPropertyDescriptor LABEL_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/DoStatement.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class DoStatement extends Statement {
28
public class DoStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
35
		new ChildPropertyDescriptor(DoStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(DoStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "body" structural property of this node type.
38
	 * The "body" structural property of this node type (child type: {@link Statement}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/EnhancedForStatement.java (-3 / +3 lines)
Lines 32-50 Link Here
32
public class EnhancedForStatement extends Statement {
32
public class EnhancedForStatement extends Statement {
33
33
34
	/**
34
	/**
35
	 * The "parameter" structural property of this node type.
35
	 * The "parameter" structural property of this node type (child type: {@link SingleVariableDeclaration}).
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor PARAMETER_PROPERTY =
37
	public static final ChildPropertyDescriptor PARAMETER_PROPERTY =
38
		new ChildPropertyDescriptor(EnhancedForStatement.class, "parameter", SingleVariableDeclaration.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
38
		new ChildPropertyDescriptor(EnhancedForStatement.class, "parameter", SingleVariableDeclaration.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
39
39
40
	/**
40
	/**
41
	 * The "expression" structural property of this node type.
41
	 * The "expression" structural property of this node type (child type: {@link Expression}).
42
	 */
42
	 */
43
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
43
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
44
		new ChildPropertyDescriptor(EnhancedForStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
44
		new ChildPropertyDescriptor(EnhancedForStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
45
45
46
	/**
46
	/**
47
	 * The "body" structural property of this node type.
47
	 * The "body" structural property of this node type (child type: {@link Statement}).
48
	 */
48
	 */
49
	public static final ChildPropertyDescriptor BODY_PROPERTY =
49
	public static final ChildPropertyDescriptor BODY_PROPERTY =
50
		new ChildPropertyDescriptor(EnhancedForStatement.class, "body", Statement.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
50
		new ChildPropertyDescriptor(EnhancedForStatement.class, "body", Statement.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
(-)dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 54-72 Link Here
54
		internalModifiers2PropertyFactory(EnumConstantDeclaration.class);
54
		internalModifiers2PropertyFactory(EnumConstantDeclaration.class);
55
55
56
	/**
56
	/**
57
	 * The "name" structural property of this node type.
57
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
58
	 */
58
	 */
59
	public static final ChildPropertyDescriptor NAME_PROPERTY =
59
	public static final ChildPropertyDescriptor NAME_PROPERTY =
60
		new ChildPropertyDescriptor(EnumConstantDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
60
		new ChildPropertyDescriptor(EnumConstantDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
61
61
62
	/**
62
	/**
63
	 * The "arguments" structural property of this node type.
63
	 * The "arguments" structural property of this node type (element type: {@link Expression}).
64
	 */
64
	 */
65
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
65
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
66
		new ChildListPropertyDescriptor(EnumConstantDeclaration.class, "arguments", Expression.class, NO_CYCLE_RISK); //$NON-NLS-1$
66
		new ChildListPropertyDescriptor(EnumConstantDeclaration.class, "arguments", Expression.class, NO_CYCLE_RISK); //$NON-NLS-1$
67
67
68
	/**
68
	/**
69
	 * The "anonymousClassDeclaration" structural property of this node type.
69
	 * The "anonymousClassDeclaration" structural property of this node type (child type: {@link AnonymousClassDeclaration}).
70
	 */
70
	 */
71
	public static final ChildPropertyDescriptor ANONYMOUS_CLASS_DECLARATION_PROPERTY =
71
	public static final ChildPropertyDescriptor ANONYMOUS_CLASS_DECLARATION_PROPERTY =
72
		new ChildPropertyDescriptor(EnumConstantDeclaration.class, "anonymousClassDeclaration", AnonymousClassDeclaration.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
72
		new ChildPropertyDescriptor(EnumConstantDeclaration.class, "anonymousClassDeclaration", AnonymousClassDeclaration.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
Lines 111-117 Link Here
111
111
112
	/**
112
	/**
113
	 * The list of argument expressions (element type:
113
	 * The list of argument expressions (element type:
114
	 * <code>Expression</code>). Defaults to an empty list.
114
	 * {@link Expression}). Defaults to an empty list.
115
	 */
115
	 */
116
	private ASTNode.NodeList arguments =
116
	private ASTNode.NodeList arguments =
117
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
117
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
Lines 308-314 Link Here
308
	 * to not explicitly specifying arguments.
308
	 * to not explicitly specifying arguments.
309
	 *
309
	 *
310
	 * @return the live list of argument expressions
310
	 * @return the live list of argument expressions
311
	 *    (element type: <code>Expression</code>)
311
	 *    (element type: {@link Expression})
312
	 */
312
	 */
313
	public List arguments() {
313
	public List arguments() {
314
		return this.arguments;
314
		return this.arguments;
(-)dom/org/eclipse/jdt/core/dom/EnumDeclaration.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 62-74 Link Here
62
		internalNamePropertyFactory(EnumDeclaration.class);
62
		internalNamePropertyFactory(EnumDeclaration.class);
63
63
64
	/**
64
	/**
65
	 * The "superInterfaceTypes" structural property of this node type.
65
	 * The "superInterfaceTypes" structural property of this node type (element type: {@link Type}).
66
	 */
66
	 */
67
	public static final ChildListPropertyDescriptor SUPER_INTERFACE_TYPES_PROPERTY =
67
	public static final ChildListPropertyDescriptor SUPER_INTERFACE_TYPES_PROPERTY =
68
		new ChildListPropertyDescriptor(EnumDeclaration.class, "superInterfaceTypes", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
68
		new ChildListPropertyDescriptor(EnumDeclaration.class, "superInterfaceTypes", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
69
69
70
	/**
70
	/**
71
	 * The "enumConstants" structural property of this node type.
71
	 * The "enumConstants" structural property of this node type (element type: {@link EnumConstantDeclaration}).
72
	 */
72
	 */
73
	public static final ChildListPropertyDescriptor ENUM_CONSTANTS_PROPERTY =
73
	public static final ChildListPropertyDescriptor ENUM_CONSTANTS_PROPERTY =
74
		new ChildListPropertyDescriptor(EnumDeclaration.class, "enumConstants", EnumConstantDeclaration.class, CYCLE_RISK); //$NON-NLS-1$
74
		new ChildListPropertyDescriptor(EnumDeclaration.class, "enumConstants", EnumConstantDeclaration.class, CYCLE_RISK); //$NON-NLS-1$
Lines 113-119 Link Here
113
	}
113
	}
114
114
115
	/**
115
	/**
116
	 * The superinterface types (element type: <code>Type</code>).
116
	 * The superinterface types (element type: {@link Type}).
117
	 * Defaults to an empty list.
117
	 * Defaults to an empty list.
118
	 */
118
	 */
119
	private ASTNode.NodeList superInterfaceTypes =
119
	private ASTNode.NodeList superInterfaceTypes =
Lines 121-127 Link Here
121
121
122
	/**
122
	/**
123
	 * The enum constant declarations
123
	 * The enum constant declarations
124
	 * (element type: <code>EnumConstantDeclaration</code>).
124
	 * (element type: {@link EnumConstantDeclaration}).
125
	 * Defaults to an empty list.
125
	 * Defaults to an empty list.
126
	 */
126
	 */
127
	private ASTNode.NodeList enumConstants =
127
	private ASTNode.NodeList enumConstants =
Lines 288-294 Link Here
288
	 * declaration.
288
	 * declaration.
289
	 *
289
	 *
290
	 * @return the live list of super interface types
290
	 * @return the live list of super interface types
291
	 *    (element type: <code>Type</code>)
291
	 *    (element type: {@link Type})
292
	 */
292
	 */
293
	public List superInterfaceTypes() {
293
	public List superInterfaceTypes() {
294
		return this.superInterfaceTypes;
294
		return this.superInterfaceTypes;
(-)dom/org/eclipse/jdt/core/dom/ExpressionStatement.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 31-37 Link Here
31
public class ExpressionStatement extends Statement {
31
public class ExpressionStatement extends Statement {
32
32
33
	/**
33
	/**
34
	 * The "expression" structural property of this node type.
34
	 * The "expression" structural property of this node type (child type: {@link Expression}).
35
	 * @since 3.0
35
	 * @since 3.0
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
37
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/FieldAccess.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 58-71 Link Here
58
public class FieldAccess extends Expression {
58
public class FieldAccess extends Expression {
59
59
60
	/**
60
	/**
61
	 * The "expression" structural property of this node type.
61
	 * The "expression" structural property of this node type (child type: {@link Expression}).
62
	 * @since 3.0
62
	 * @since 3.0
63
	 */
63
	 */
64
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
64
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
65
		new ChildPropertyDescriptor(FieldAccess.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
65
		new ChildPropertyDescriptor(FieldAccess.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
66
66
67
	/**
67
	/**
68
	 * The "name" structural property of this node type.
68
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
69
	 * @since 3.0
69
	 * @since 3.0
70
	 */
70
	 */
71
	public static final ChildPropertyDescriptor NAME_PROPERTY =
71
	public static final ChildPropertyDescriptor NAME_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/FieldDeclaration.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 60-73 Link Here
60
		internalModifiers2PropertyFactory(FieldDeclaration.class);
60
		internalModifiers2PropertyFactory(FieldDeclaration.class);
61
61
62
	/**
62
	/**
63
	 * The "type" structural property of this node type.
63
	 * The "type" structural property of this node type (child type: {@link Type}).
64
	 * @since 3.0
64
	 * @since 3.0
65
	 */
65
	 */
66
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
66
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
67
		new ChildPropertyDescriptor(FieldDeclaration.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
67
		new ChildPropertyDescriptor(FieldDeclaration.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
68
68
69
	/**
69
	/**
70
	 * The "fragments" structural property of this node type).
70
	 * The "fragments" structural property of this node type (element type: {@link VariableDeclarationFragment}).
71
	 * @since 3.0
71
	 * @since 3.0
72
	 */
72
	 */
73
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
73
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
Lines 341-347 Link Here
341
	 * type of node will trigger an exception.
341
	 * type of node will trigger an exception.
342
	 *
342
	 *
343
	 * @return the live list of variable declaration fragments in this
343
	 * @return the live list of variable declaration fragments in this
344
	 *    statement (element type: <code>VariableDeclarationFragment</code>)
344
	 *    statement (element type: {@link VariableDeclarationFragment})
345
	 */
345
	 */
346
	public List fragments() {
346
	public List fragments() {
347
		return this.variableDeclarationFragments;
347
		return this.variableDeclarationFragments;
(-)dom/org/eclipse/jdt/core/dom/ForStatement.java (-9 / +9 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 44-71 Link Here
44
public class ForStatement extends Statement {
44
public class ForStatement extends Statement {
45
45
46
	/**
46
	/**
47
	 * The "initializers" structural property of this node type.
47
	 * The "initializers" structural property of this node type (element type: {@link Expression}).
48
	 * @since 3.0
48
	 * @since 3.0
49
	 */
49
	 */
50
	public static final ChildListPropertyDescriptor INITIALIZERS_PROPERTY =
50
	public static final ChildListPropertyDescriptor INITIALIZERS_PROPERTY =
51
		new ChildListPropertyDescriptor(ForStatement.class, "initializers", Expression.class, CYCLE_RISK); //$NON-NLS-1$
51
		new ChildListPropertyDescriptor(ForStatement.class, "initializers", Expression.class, CYCLE_RISK); //$NON-NLS-1$
52
52
53
	/**
53
	/**
54
	 * The "expression" structural property of this node type.
54
	 * The "expression" structural property of this node type (child type: {@link Expression}).
55
	 * @since 3.0
55
	 * @since 3.0
56
	 */
56
	 */
57
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
57
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
58
		new ChildPropertyDescriptor(ForStatement.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
58
		new ChildPropertyDescriptor(ForStatement.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
59
59
60
	/**
60
	/**
61
	 * The "updaters" structural property of this node type.
61
	 * The "updaters" structural property of this node type (element type: {@link Expression}).
62
	 * @since 3.0
62
	 * @since 3.0
63
	 */
63
	 */
64
	public static final ChildListPropertyDescriptor UPDATERS_PROPERTY =
64
	public static final ChildListPropertyDescriptor UPDATERS_PROPERTY =
65
		new ChildListPropertyDescriptor(ForStatement.class, "updaters", Expression.class, CYCLE_RISK); //$NON-NLS-1$
65
		new ChildListPropertyDescriptor(ForStatement.class, "updaters", Expression.class, CYCLE_RISK); //$NON-NLS-1$
66
66
67
	/**
67
	/**
68
	 * The "body" structural property of this node type.
68
	 * The "body" structural property of this node type (child type: {@link Statement}).
69
	 * @since 3.0
69
	 * @since 3.0
70
	 */
70
	 */
71
	public static final ChildPropertyDescriptor BODY_PROPERTY =
71
	public static final ChildPropertyDescriptor BODY_PROPERTY =
Lines 105-111 Link Here
105
105
106
	/**
106
	/**
107
	 * The list of initializer expressions (element type:
107
	 * The list of initializer expressions (element type:
108
	 * <code>Expression</code>). Defaults to an empty list.
108
	 * {@link Expression}). Defaults to an empty list.
109
	 */
109
	 */
110
	private ASTNode.NodeList initializers =
110
	private ASTNode.NodeList initializers =
111
		new ASTNode.NodeList(INITIALIZERS_PROPERTY);
111
		new ASTNode.NodeList(INITIALIZERS_PROPERTY);
Lines 117-123 Link Here
117
117
118
	/**
118
	/**
119
	 * The list of update expressions (element type:
119
	 * The list of update expressions (element type:
120
	 * <code>Expression</code>). Defaults to an empty list.
120
	 * {@link Expression}). Defaults to an empty list.
121
	 */
121
	 */
122
	private ASTNode.NodeList updaters =
122
	private ASTNode.NodeList updaters =
123
		new ASTNode.NodeList(UPDATERS_PROPERTY);
123
		new ASTNode.NodeList(UPDATERS_PROPERTY);
Lines 241-247 Link Here
241
	 * </p>
241
	 * </p>
242
	 *
242
	 *
243
	 * @return the live list of initializer expressions
243
	 * @return the live list of initializer expressions
244
	 *    (element type: <code>Expression</code>)
244
	 *    (element type: {@link Expression})
245
	 */
245
	 */
246
	public List initializers() {
246
	public List initializers() {
247
		return this.initializers;
247
		return this.initializers;
Lines 286-292 Link Here
286
	 * </p>
286
	 * </p>
287
	 *
287
	 *
288
	 * @return the live list of update expressions
288
	 * @return the live list of update expressions
289
	 *    (element type: <code>Expression</code>)
289
	 *    (element type: {@link Expression})
290
	 */
290
	 */
291
	public List updaters() {
291
	public List updaters() {
292
		return this.updaters;
292
		return this.updaters;
(-)dom/org/eclipse/jdt/core/dom/IfStatement.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 27-47 Link Here
27
public class IfStatement extends Statement {
27
public class IfStatement extends Statement {
28
28
29
	/**
29
	/**
30
	 * The "expression" structural property of this node type.
30
	 * The "expression" structural property of this node type (child type: {@link Expression}).
31
	 * @since 3.0
31
	 * @since 3.0
32
	 */
32
	 */
33
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
33
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
		new ChildPropertyDescriptor(IfStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
34
		new ChildPropertyDescriptor(IfStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
35
36
	/**
36
	/**
37
	 * The "thenStatement" structural property of this node type.
37
	 * The "thenStatement" structural property of this node type (child type: {@link Statement}).
38
	 * @since 3.0
38
	 * @since 3.0
39
	 */
39
	 */
40
	public static final ChildPropertyDescriptor THEN_STATEMENT_PROPERTY =
40
	public static final ChildPropertyDescriptor THEN_STATEMENT_PROPERTY =
41
		new ChildPropertyDescriptor(IfStatement.class, "thenStatement", Statement.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
41
		new ChildPropertyDescriptor(IfStatement.class, "thenStatement", Statement.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
42
42
43
	/**
43
	/**
44
	 * The "elseStatement" structural property of this node type.
44
	 * The "elseStatement" structural property of this node type (child type: {@link Statement}).
45
	 * @since 3.0
45
	 * @since 3.0
46
	 */
46
	 */
47
	public static final ChildPropertyDescriptor ELSE_STATEMENT_PROPERTY =
47
	public static final ChildPropertyDescriptor ELSE_STATEMENT_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/ImportDeclaration.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 33-53 Link Here
33
public class ImportDeclaration extends ASTNode {
33
public class ImportDeclaration extends ASTNode {
34
34
35
	/**
35
	/**
36
	 * The "name" structural property of this node type.
36
	 * The "name" structural property of this node type (child type: {@link Name}).
37
	 * @since 3.0
37
	 * @since 3.0
38
	 */
38
	 */
39
	public static final ChildPropertyDescriptor NAME_PROPERTY =
39
	public static final ChildPropertyDescriptor NAME_PROPERTY =
40
		new ChildPropertyDescriptor(ImportDeclaration.class, "name", Name.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
40
		new ChildPropertyDescriptor(ImportDeclaration.class, "name", Name.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
41
41
42
	/**
42
	/**
43
	 * The "onDemand" structural property of this node type.
43
	 * The "onDemand" structural property of this node type (type: {@link Boolean}).
44
	 * @since 3.0
44
	 * @since 3.0
45
	 */
45
	 */
46
	public static final SimplePropertyDescriptor ON_DEMAND_PROPERTY =
46
	public static final SimplePropertyDescriptor ON_DEMAND_PROPERTY =
47
		new SimplePropertyDescriptor(ImportDeclaration.class, "onDemand", boolean.class, MANDATORY); //$NON-NLS-1$
47
		new SimplePropertyDescriptor(ImportDeclaration.class, "onDemand", boolean.class, MANDATORY); //$NON-NLS-1$
48
48
49
	/**
49
	/**
50
	 * The "static" structural property of this node type (added in JLS3 API).
50
	 * The "static" structural property of this node type (type: {@link Boolean}) (added in JLS3 API).
51
	 * @since 3.1
51
	 * @since 3.1
52
	 */
52
	 */
53
	public static final SimplePropertyDescriptor STATIC_PROPERTY =
53
	public static final SimplePropertyDescriptor STATIC_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/InfixExpression.java (-7 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 174-201 Link Here
174
	}
174
	}
175
175
176
	/**
176
	/**
177
	 * The "leftOperand" structural property of this node type.
177
	 * The "leftOperand" structural property of this node type (child type: {@link Expression}).
178
	 * @since 3.0
178
	 * @since 3.0
179
	 */
179
	 */
180
	public static final ChildPropertyDescriptor LEFT_OPERAND_PROPERTY =
180
	public static final ChildPropertyDescriptor LEFT_OPERAND_PROPERTY =
181
		new ChildPropertyDescriptor(InfixExpression.class, "leftOperand", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
181
		new ChildPropertyDescriptor(InfixExpression.class, "leftOperand", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
182
182
183
	/**
183
	/**
184
	 * The "operator" structural property of this node type.
184
	 * The "operator" structural property of this node type (type: {@link InfixExpression.Operator}).
185
	 * @since 3.0
185
	 * @since 3.0
186
	 */
186
	 */
187
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
187
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
188
		new SimplePropertyDescriptor(InfixExpression.class, "operator", InfixExpression.Operator.class, MANDATORY); //$NON-NLS-1$
188
		new SimplePropertyDescriptor(InfixExpression.class, "operator", InfixExpression.Operator.class, MANDATORY); //$NON-NLS-1$
189
189
190
	/**
190
	/**
191
	 * The "rightOperand" structural property of this node type.
191
	 * The "rightOperand" structural property of this node type (child type: {@link Expression}).
192
	 * @since 3.0
192
	 * @since 3.0
193
	 */
193
	 */
194
	public static final ChildPropertyDescriptor RIGHT_OPERAND_PROPERTY =
194
	public static final ChildPropertyDescriptor RIGHT_OPERAND_PROPERTY =
195
		new ChildPropertyDescriptor(InfixExpression.class, "rightOperand", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
195
		new ChildPropertyDescriptor(InfixExpression.class, "rightOperand", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
196
196
197
	/**
197
	/**
198
	 * The "extendedOperands" structural property of this node type.
198
	 * The "extendedOperands" structural property of this node type (element type: {@link Expression}).
199
	 * @since 3.0
199
	 * @since 3.0
200
	 */
200
	 */
201
	public static final ChildListPropertyDescriptor EXTENDED_OPERANDS_PROPERTY =
201
	public static final ChildListPropertyDescriptor EXTENDED_OPERANDS_PROPERTY =
Lines 252-258 Link Here
252
252
253
	/**
253
	/**
254
	 * The list of extended operand expressions (element type:
254
	 * The list of extended operand expressions (element type:
255
	 * <code>Expression</code>). Lazily initialized; defaults to an empty list.
255
	 * {@link Expression}). Lazily initialized; defaults to an empty list.
256
	 */
256
	 */
257
	private ASTNode.NodeList extendedOperands = null;
257
	private ASTNode.NodeList extendedOperands = null;
258
258
Lines 507-513 Link Here
507
	 * </p>
507
	 * </p>
508
	 *
508
	 *
509
	 * @return the live list of extended operands
509
	 * @return the live list of extended operands
510
	 *   (element type: <code>Expression</code>)
510
	 *   (element type: {@link Expression})
511
	 */
511
	 */
512
	public List extendedOperands() {
512
	public List extendedOperands() {
513
		if (this.extendedOperands == null) {
513
		if (this.extendedOperands == null) {
(-)dom/org/eclipse/jdt/core/dom/Initializer.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 48-54 Link Here
48
		internalModifiers2PropertyFactory(Initializer.class);
48
		internalModifiers2PropertyFactory(Initializer.class);
49
49
50
	/**
50
	/**
51
	 * The "body" structural property of this node type.
51
	 * The "body" structural property of this node type (child type: {@link Block}).
52
	 * @since 3.0
52
	 * @since 3.0
53
	 */
53
	 */
54
	public static final ChildPropertyDescriptor BODY_PROPERTY =
54
	public static final ChildPropertyDescriptor BODY_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/InstanceofExpression.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 27-40 Link Here
27
public class InstanceofExpression extends Expression {
27
public class InstanceofExpression extends Expression {
28
28
29
	/**
29
	/**
30
	 * The "leftOperand" structural property of this node type.
30
	 * The "leftOperand" structural property of this node type (child type: {@link Expression}).
31
	 * @since 3.0
31
	 * @since 3.0
32
	 */
32
	 */
33
	public static final ChildPropertyDescriptor LEFT_OPERAND_PROPERTY =
33
	public static final ChildPropertyDescriptor LEFT_OPERAND_PROPERTY =
34
		new ChildPropertyDescriptor(InstanceofExpression.class, "leftOperand", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
34
		new ChildPropertyDescriptor(InstanceofExpression.class, "leftOperand", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
35
36
	/**
36
	/**
37
	 * The "rightOperand" structural property of this node type.
37
	 * The "rightOperand" structural property of this node type (child type: {@link Type}).
38
	 * @since 3.0
38
	 * @since 3.0
39
	 */
39
	 */
40
	public static final ChildPropertyDescriptor RIGHT_OPERAND_PROPERTY =
40
	public static final ChildPropertyDescriptor RIGHT_OPERAND_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/Javadoc.java (-5 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 31-37 Link Here
31
public class Javadoc extends Comment {
31
public class Javadoc extends Comment {
32
32
33
	/**
33
	/**
34
	 * The "comment" structural property of this node type (JLS2 API only).
34
	 * The "comment" structural property of this node type (type: {@link String}) (JLS2 API only).
35
	 * @since 3.0
35
	 * @since 3.0
36
	 * @deprecated Replaced by {@link #TAGS_PROPERTY} in the JLS3 API.
36
	 * @deprecated Replaced by {@link #TAGS_PROPERTY} in the JLS3 API.
37
	 */
37
	 */
Lines 39-45 Link Here
39
		new SimplePropertyDescriptor(Javadoc.class, "comment", String.class, MANDATORY); //$NON-NLS-1$
39
		new SimplePropertyDescriptor(Javadoc.class, "comment", String.class, MANDATORY); //$NON-NLS-1$
40
40
41
	/**
41
	/**
42
	 * The "tags" structural property of this node type.
42
	 * The "tags" structural property of this node type (element type: {@link TagElement}).
43
	 * @since 3.1
43
	 * @since 3.1
44
	 */
44
	 */
45
	public static final ChildListPropertyDescriptor TAGS_PROPERTY =
45
	public static final ChildListPropertyDescriptor TAGS_PROPERTY =
Lines 109-115 Link Here
109
	private String comment = MINIMAL_DOC_COMMENT;
109
	private String comment = MINIMAL_DOC_COMMENT;
110
110
111
	/**
111
	/**
112
	 * The list of tag elements (element type: <code>TagElement</code>).
112
	 * The list of tag elements (element type: {@link TagElement}).
113
	 * Defaults to an empty list.
113
	 * Defaults to an empty list.
114
	 * @since 3.0
114
	 * @since 3.0
115
	 */
115
	 */
Lines 292-298 Link Here
292
	 * </p>
292
	 * </p>
293
	 *
293
	 *
294
	 * @return the live list of tag elements in this doc comment
294
	 * @return the live list of tag elements in this doc comment
295
	 * (element type: <code>TagElement</code>)
295
	 * (element type: {@link TagElement})
296
	 * @since 3.0
296
	 * @since 3.0
297
	 */
297
	 */
298
	public List tags() {
298
	public List tags() {
(-)dom/org/eclipse/jdt/core/dom/LabeledStatement.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class LabeledStatement extends Statement {
28
public class LabeledStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "label" structural property of this node type.
31
	 * The "label" structural property of this node type (child type: {@link SimpleName}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor LABEL_PROPERTY =
34
	public static final ChildPropertyDescriptor LABEL_PROPERTY =
35
		new ChildPropertyDescriptor(LabeledStatement.class, "label", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(LabeledStatement.class, "label", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "body" structural property of this node type.
38
	 * The "body" structural property of this node type (child type: {@link Statement}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/MemberRef.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 31-44 Link Here
31
public class MemberRef extends ASTNode implements IDocElement {
31
public class MemberRef extends ASTNode implements IDocElement {
32
32
33
	/**
33
	/**
34
	 * The "qualifier" structural property of this node type.
34
	 * The "qualifier" structural property of this node type (child type: {@link Name}).
35
	 * @since 3.0
35
	 * @since 3.0
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
37
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
38
		new ChildPropertyDescriptor(MemberRef.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
38
		new ChildPropertyDescriptor(MemberRef.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
39
39
40
	/**
40
	/**
41
	 * The "name" structural property of this node type.
41
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
42
	 * @since 3.0
42
	 * @since 3.0
43
	 */
43
	 */
44
	public static final ChildPropertyDescriptor NAME_PROPERTY =
44
	public static final ChildPropertyDescriptor NAME_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/MemberValuePair.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 32-44 Link Here
32
public class MemberValuePair extends ASTNode {
32
public class MemberValuePair extends ASTNode {
33
33
34
	/**
34
	/**
35
	 * The "name" structural property of this node type.
35
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor NAME_PROPERTY =
37
	public static final ChildPropertyDescriptor NAME_PROPERTY =
38
		new ChildPropertyDescriptor(MemberValuePair.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
38
		new ChildPropertyDescriptor(MemberValuePair.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
39
39
40
	/**
40
	/**
41
	 * The "value" structural property of this node type.
41
	 * The "value" structural property of this node type (child type: {@link Expression}).
42
	 */
42
	 */
43
	public static final ChildPropertyDescriptor VALUE_PROPERTY =
43
	public static final ChildPropertyDescriptor VALUE_PROPERTY =
44
		new ChildPropertyDescriptor(MemberValuePair.class, "value", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
44
		new ChildPropertyDescriptor(MemberValuePair.class, "value", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
(-)dom/org/eclipse/jdt/core/dom/MethodDeclaration.java (-16 / +16 lines)
Lines 68-74 Link Here
68
public class MethodDeclaration extends BodyDeclaration {
68
public class MethodDeclaration extends BodyDeclaration {
69
69
70
	/**
70
	/**
71
	 * The "javadoc" structural property of this node type.
71
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
72
	 * @since 3.0
72
	 * @since 3.0
73
	 */
73
	 */
74
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
74
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
Lines 89-151 Link Here
89
		internalModifiers2PropertyFactory(MethodDeclaration.class);
89
		internalModifiers2PropertyFactory(MethodDeclaration.class);
90
90
91
	/**
91
	/**
92
	 * The "constructor" structural property of this node type.
92
	 * The "constructor" structural property of this node type (type: {@link Boolean}).
93
	 * @since 3.0
93
	 * @since 3.0
94
	 */
94
	 */
95
	public static final SimplePropertyDescriptor CONSTRUCTOR_PROPERTY =
95
	public static final SimplePropertyDescriptor CONSTRUCTOR_PROPERTY =
96
		new SimplePropertyDescriptor(MethodDeclaration.class, "constructor", boolean.class, MANDATORY); //$NON-NLS-1$
96
		new SimplePropertyDescriptor(MethodDeclaration.class, "constructor", boolean.class, MANDATORY); //$NON-NLS-1$
97
97
98
	/**
98
	/**
99
	 * The "name" structural property of this node type.
99
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
100
	 * @since 3.0
100
	 * @since 3.0
101
	 */
101
	 */
102
	public static final ChildPropertyDescriptor NAME_PROPERTY =
102
	public static final ChildPropertyDescriptor NAME_PROPERTY =
103
		new ChildPropertyDescriptor(MethodDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
103
		new ChildPropertyDescriptor(MethodDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
104
104
105
	/**
105
	/**
106
	 * The "returnType" structural property of this node type (JLS2 API only).
106
	 * The "returnType" structural property of this node type (child type: {@link Type}) (JLS2 API only).
107
	 * @since 3.0
107
	 * @since 3.0
108
	 */
108
	 */
109
	public static final ChildPropertyDescriptor RETURN_TYPE_PROPERTY =
109
	public static final ChildPropertyDescriptor RETURN_TYPE_PROPERTY =
110
		new ChildPropertyDescriptor(MethodDeclaration.class, "returnType", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
110
		new ChildPropertyDescriptor(MethodDeclaration.class, "returnType", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
111
111
112
	/**
112
	/**
113
	 * The "returnType2" structural property of this node type (added in JLS3 API).
113
	 * The "returnType2" structural property of this node type (child type: {@link Type}) (added in JLS3 API).
114
	 * @since 3.1
114
	 * @since 3.1
115
	 */
115
	 */
116
	public static final ChildPropertyDescriptor RETURN_TYPE2_PROPERTY =
116
	public static final ChildPropertyDescriptor RETURN_TYPE2_PROPERTY =
117
		new ChildPropertyDescriptor(MethodDeclaration.class, "returnType2", Type.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
117
		new ChildPropertyDescriptor(MethodDeclaration.class, "returnType2", Type.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
118
118
119
	/**
119
	/**
120
	 * The "extraDimensions" structural property of this node type.
120
	 * The "extraDimensions" structural property of this node type (type: {@link Integer}).
121
	 * @since 3.0
121
	 * @since 3.0
122
	 */
122
	 */
123
	public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY =
123
	public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY =
124
		new SimplePropertyDescriptor(MethodDeclaration.class, "extraDimensions", int.class, MANDATORY); //$NON-NLS-1$
124
		new SimplePropertyDescriptor(MethodDeclaration.class, "extraDimensions", int.class, MANDATORY); //$NON-NLS-1$
125
125
126
	/**
126
	/**
127
	 * The "typeParameters" structural property of this node type (added in JLS3 API).
127
	 * The "typeParameters" structural property of this node type (element type: {@link TypeParameter}) (added in JLS3 API).
128
	 * @since 3.1
128
	 * @since 3.1
129
	 */
129
	 */
130
	public static final ChildListPropertyDescriptor TYPE_PARAMETERS_PROPERTY =
130
	public static final ChildListPropertyDescriptor TYPE_PARAMETERS_PROPERTY =
131
		new ChildListPropertyDescriptor(MethodDeclaration.class, "typeParameters", TypeParameter.class, NO_CYCLE_RISK); //$NON-NLS-1$
131
		new ChildListPropertyDescriptor(MethodDeclaration.class, "typeParameters", TypeParameter.class, NO_CYCLE_RISK); //$NON-NLS-1$
132
132
133
	/**
133
	/**
134
	 * The "parameters" structural property of this node type).
134
	 * The "parameters" structural property of this node type (element type: {@link SingleVariableDeclaration}).
135
	 * @since 3.0
135
	 * @since 3.0
136
	 */
136
	 */
137
	public static final ChildListPropertyDescriptor PARAMETERS_PROPERTY =
137
	public static final ChildListPropertyDescriptor PARAMETERS_PROPERTY =
138
		new ChildListPropertyDescriptor(MethodDeclaration.class, "parameters", SingleVariableDeclaration.class, CYCLE_RISK); //$NON-NLS-1$
138
		new ChildListPropertyDescriptor(MethodDeclaration.class, "parameters", SingleVariableDeclaration.class, CYCLE_RISK); //$NON-NLS-1$
139
139
140
	/**
140
	/**
141
	 * The "thrownExceptions" structural property of this node type).
141
	 * The "thrownExceptions" structural property of this node type (element type: {@link Name}).
142
	 * @since 3.0
142
	 * @since 3.0
143
	 */
143
	 */
144
	public static final ChildListPropertyDescriptor THROWN_EXCEPTIONS_PROPERTY =
144
	public static final ChildListPropertyDescriptor THROWN_EXCEPTIONS_PROPERTY =
145
		new ChildListPropertyDescriptor(MethodDeclaration.class, "thrownExceptions", Name.class, NO_CYCLE_RISK); //$NON-NLS-1$
145
		new ChildListPropertyDescriptor(MethodDeclaration.class, "thrownExceptions", Name.class, NO_CYCLE_RISK); //$NON-NLS-1$
146
146
147
	/**
147
	/**
148
	 * The "body" structural property of this node type.
148
	 * The "body" structural property of this node type (child type: {@link Block}).
149
	 * @since 3.0
149
	 * @since 3.0
150
	 */
150
	 */
151
	public static final ChildPropertyDescriptor BODY_PROPERTY =
151
	public static final ChildPropertyDescriptor BODY_PROPERTY =
Lines 227-233 Link Here
227
227
228
	/**
228
	/**
229
	 * The parameter declarations
229
	 * The parameter declarations
230
	 * (element type: <code>SingleVariableDeclaration</code>).
230
	 * (element type: {@link SingleVariableDeclaration}).
231
	 * Defaults to an empty list.
231
	 * Defaults to an empty list.
232
	 */
232
	 */
233
	private ASTNode.NodeList parameters =
233
	private ASTNode.NodeList parameters =
Lines 248-254 Link Here
248
	private boolean returnType2Initialized = false;
248
	private boolean returnType2Initialized = false;
249
249
250
	/**
250
	/**
251
	 * The type paramters (element type: <code>TypeParameter</code>).
251
	 * The type paramters (element type: {@link TypeParameter}).
252
	 * Null in JLS2. Added in JLS3; defaults to an empty list
252
	 * Null in JLS2. Added in JLS3; defaults to an empty list
253
	 * (see constructor).
253
	 * (see constructor).
254
	 * @since 3.1
254
	 * @since 3.1
Lines 264-270 Link Here
264
	private int extraArrayDimensions = 0;
264
	private int extraArrayDimensions = 0;
265
265
266
	/**
266
	/**
267
	 * The list of thrown exception names (element type: <code>Name</code>).
267
	 * The list of thrown exception names (element type: {@link Name}).
268
	 * Defaults to an empty list.
268
	 * Defaults to an empty list.
269
	 */
269
	 */
270
	private ASTNode.NodeList thrownExceptions =
270
	private ASTNode.NodeList thrownExceptions =
Lines 533-539 Link Here
533
	 * declaration (added in JLS3 API). This list is non-empty for parameterized methods.
533
	 * declaration (added in JLS3 API). This list is non-empty for parameterized methods.
534
	 *
534
	 *
535
	 * @return the live list of type parameters
535
	 * @return the live list of type parameters
536
	 *    (element type: <code>TypeParameter</code>)
536
	 *    (element type: {@link TypeParameter})
537
	 * @exception UnsupportedOperationException if this operation is used in
537
	 * @exception UnsupportedOperationException if this operation is used in
538
	 * a JLS2 AST
538
	 * a JLS2 AST
539
	 * @since 3.1
539
	 * @since 3.1
Lines 594-600 Link Here
594
	 * method declaration.
594
	 * method declaration.
595
	 *
595
	 *
596
	 * @return the live list of method parameter declarations
596
	 * @return the live list of method parameter declarations
597
	 *    (element type: <code>SingleVariableDeclaration</code>)
597
	 *    (element type: {@link SingleVariableDeclaration})
598
	 */
598
	 */
599
	public List parameters() {
599
	public List parameters() {
600
		return this.parameters;
600
		return this.parameters;
Lines 630-636 Link Here
630
	 * declaration.
630
	 * declaration.
631
	 *
631
	 *
632
	 * @return the live list of exception names
632
	 * @return the live list of exception names
633
	 *    (element type: <code>Name</code>)
633
	 *    (element type: {@link Name})
634
	 */
634
	 */
635
	public List thrownExceptions() {
635
	public List thrownExceptions() {
636
		return this.thrownExceptions;
636
		return this.thrownExceptions;
(-)dom/org/eclipse/jdt/core/dom/MethodInvocation.java (-9 / +9 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 35-62 Link Here
35
public class MethodInvocation extends Expression {
35
public class MethodInvocation extends Expression {
36
36
37
	/**
37
	/**
38
	 * The "expression" structural property of this node type.
38
	 * The "expression" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
42
		new ChildPropertyDescriptor(MethodInvocation.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
42
		new ChildPropertyDescriptor(MethodInvocation.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
43
43
44
	/**
44
	/**
45
	 * The "typeArguments" structural property of this node type (added in JLS3 API).
45
	 * The "typeArguments" structural property of this node type (element type: {@link Type}) (added in JLS3 API).
46
	 * @since 3.1
46
	 * @since 3.1
47
	 */
47
	 */
48
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
48
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
49
		new ChildListPropertyDescriptor(MethodInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
49
		new ChildListPropertyDescriptor(MethodInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
50
50
51
	/**
51
	/**
52
	 * The "name" structural property of this node type.
52
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
53
	 * @since 3.0
53
	 * @since 3.0
54
	 */
54
	 */
55
	public static final ChildPropertyDescriptor NAME_PROPERTY =
55
	public static final ChildPropertyDescriptor NAME_PROPERTY =
56
		new ChildPropertyDescriptor(MethodInvocation.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
56
		new ChildPropertyDescriptor(MethodInvocation.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
57
57
58
	/**
58
	/**
59
	 * The "arguments" structural property of this node type.
59
	 * The "arguments" structural property of this node type (element type: {@link Expression}).
60
	 * @since 3.0
60
	 * @since 3.0
61
	 */
61
	 */
62
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
62
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
Lines 120-126 Link Here
120
	private Expression optionalExpression = null;
120
	private Expression optionalExpression = null;
121
121
122
	/**
122
	/**
123
	 * The type arguments (element type: <code>Type</code>).
123
	 * The type arguments (element type: {@link Type}).
124
	 * Null in JLS2. Added in JLS3; defaults to an empty list
124
	 * Null in JLS2. Added in JLS3; defaults to an empty list
125
	 * (see constructor).
125
	 * (see constructor).
126
	 * @since 3.1
126
	 * @since 3.1
Lines 135-141 Link Here
135
135
136
	/**
136
	/**
137
	 * The list of argument expressions (element type:
137
	 * The list of argument expressions (element type:
138
	 * <code>Expression</code>). Defaults to an empty list.
138
	 * {@link Expression}). Defaults to an empty list.
139
	 */
139
	 */
140
	private ASTNode.NodeList arguments =
140
	private ASTNode.NodeList arguments =
141
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
141
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
Lines 296-302 Link Here
296
	 * invocation (added in JLS3 API).
296
	 * invocation (added in JLS3 API).
297
	 *
297
	 *
298
	 * @return the live list of type arguments
298
	 * @return the live list of type arguments
299
	 *    (element type: <code>Type</code>)
299
	 *    (element type: {@link Type})
300
	 * @exception UnsupportedOperationException if this operation is used in
300
	 * @exception UnsupportedOperationException if this operation is used in
301
	 * a JLS2 AST
301
	 * a JLS2 AST
302
	 * @since 3.1
302
	 * @since 3.1
Lines 354-360 Link Here
354
	 * invocation expression.
354
	 * invocation expression.
355
	 *
355
	 *
356
	 * @return the live list of argument expressions
356
	 * @return the live list of argument expressions
357
	 *    (element type: <code>Expression</code>)
357
	 *    (element type: {@link Expression})
358
	 */
358
	 */
359
	public List arguments() {
359
	public List arguments() {
360
		return this.arguments;
360
		return this.arguments;
(-)dom/org/eclipse/jdt/core/dom/MethodRef.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 31-51 Link Here
31
public class MethodRef extends ASTNode implements IDocElement {
31
public class MethodRef extends ASTNode implements IDocElement {
32
32
33
	/**
33
	/**
34
	 * The "qualifier" structural property of this node type.
34
	 * The "qualifier" structural property of this node type (child type: {@link Name}).
35
	 * @since 3.0
35
	 * @since 3.0
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
37
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
38
		new ChildPropertyDescriptor(MethodRef.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
38
		new ChildPropertyDescriptor(MethodRef.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
39
39
40
	/**
40
	/**
41
	 * The "name" structural property of this node type.
41
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
42
	 * @since 3.0
42
	 * @since 3.0
43
	 */
43
	 */
44
	public static final ChildPropertyDescriptor NAME_PROPERTY =
44
	public static final ChildPropertyDescriptor NAME_PROPERTY =
45
		new ChildPropertyDescriptor(MethodRef.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
45
		new ChildPropertyDescriptor(MethodRef.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
46
46
47
	/**
47
	/**
48
	 * The "parameters" structural property of this node type.
48
	 * The "parameters" structural property of this node type (element type: {@link MethodRefParameter}).
49
	 * @since 3.0
49
	 * @since 3.0
50
	 */
50
	 */
51
	public static final ChildListPropertyDescriptor PARAMETERS_PROPERTY =
51
	public static final ChildListPropertyDescriptor PARAMETERS_PROPERTY =
Lines 93-99 Link Here
93
93
94
	/**
94
	/**
95
	 * The parameter declarations
95
	 * The parameter declarations
96
	 * (element type: <code>MethodRefParameter</code>).
96
	 * (element type: {@link MethodRefParameter}).
97
	 * Defaults to an empty list.
97
	 * Defaults to an empty list.
98
	 */
98
	 */
99
	private ASTNode.NodeList parameters =
99
	private ASTNode.NodeList parameters =
Lines 275-281 Link Here
275
	 * method reference.
275
	 * method reference.
276
	 *
276
	 *
277
	 * @return the live list of method parameter references
277
	 * @return the live list of method parameter references
278
	 *    (element type: <code>MethodRefParameter</code>)
278
	 *    (element type: {@link MethodRefParameter})
279
	 */
279
	 */
280
	public List parameters() {
280
	public List parameters() {
281
		return this.parameters;
281
		return this.parameters;
(-)dom/org/eclipse/jdt/core/dom/MethodRefParameter.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 42-62 Link Here
42
public class MethodRefParameter extends ASTNode {
42
public class MethodRefParameter extends ASTNode {
43
43
44
	/**
44
	/**
45
	 * The "type" structural property of this node type.
45
	 * The "type" structural property of this node type (child type: {@link Type}).
46
	 * @since 3.0
46
	 * @since 3.0
47
	 */
47
	 */
48
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
48
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
49
		new ChildPropertyDescriptor(MethodRefParameter.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
49
		new ChildPropertyDescriptor(MethodRefParameter.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
50
50
51
	/**
51
	/**
52
	 * The "varargs" structural property of this node type (added in JLS3 API).
52
	 * The "varargs" structural property of this node type (type: {@link Boolean}) (added in JLS3 API).
53
	 * @since 3.1
53
	 * @since 3.1
54
	 */
54
	 */
55
	public static final SimplePropertyDescriptor VARARGS_PROPERTY =
55
	public static final SimplePropertyDescriptor VARARGS_PROPERTY =
56
		new SimplePropertyDescriptor(MethodRefParameter.class, "varargs", boolean.class, MANDATORY); //$NON-NLS-1$
56
		new SimplePropertyDescriptor(MethodRefParameter.class, "varargs", boolean.class, MANDATORY); //$NON-NLS-1$
57
57
58
	/**
58
	/**
59
	 * The "name" structural property of this node type.
59
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
60
	 * @since 3.0
60
	 * @since 3.0
61
	 */
61
	 */
62
	public static final ChildPropertyDescriptor NAME_PROPERTY =
62
	public static final ChildPropertyDescriptor NAME_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/Modifier.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 210-216 Link Here
210
	public static final int FINAL = 0x0010;
210
	public static final int FINAL = 0x0010;
211
211
212
	/**
212
	/**
213
	 * The "keyword" structural property of this node type.
213
	 * The "keyword" structural property of this node type (type: {@link Modifier.ModifierKeyword}).
214
	 * @since 3.0
214
	 * @since 3.0
215
	 */
215
	 */
216
	public static final SimplePropertyDescriptor KEYWORD_PROPERTY =
216
	public static final SimplePropertyDescriptor KEYWORD_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/NormalAnnotation.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2009 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 34-40 Link Here
34
		internalTypeNamePropertyFactory(NormalAnnotation.class);
34
		internalTypeNamePropertyFactory(NormalAnnotation.class);
35
35
36
	/**
36
	/**
37
	 * The "values" structural property of this node type.
37
	 * The "values" structural property of this node type (element type: {@link MemberValuePair}).
38
	 */
38
	 */
39
	public static final ChildListPropertyDescriptor VALUES_PROPERTY =
39
	public static final ChildListPropertyDescriptor VALUES_PROPERTY =
40
		new ChildListPropertyDescriptor(NormalAnnotation.class, "values", MemberValuePair.class, CYCLE_RISK); //$NON-NLS-1$
40
		new ChildListPropertyDescriptor(NormalAnnotation.class, "values", MemberValuePair.class, CYCLE_RISK); //$NON-NLS-1$
Lines 177-183 Link Here
177
	 * type of node will trigger an exception.
177
	 * type of node will trigger an exception.
178
	 *
178
	 *
179
	 * @return the live list of member value pairs in this
179
	 * @return the live list of member value pairs in this
180
	 *    annotation (element type: <code>MemberValuePair</code>)
180
	 *    annotation (element type: {@link MemberValuePair})
181
	 */
181
	 */
182
	public List values() {
182
	public List values() {
183
		return this.values;
183
		return this.values;
(-)dom/org/eclipse/jdt/core/dom/NumberLiteral.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 27-33 Link Here
27
public class NumberLiteral extends Expression {
27
public class NumberLiteral extends Expression {
28
28
29
	/**
29
	/**
30
	 * The "token" structural property of this node type.
30
	 * The "token" structural property of this node type (type: {@link String}).
31
	 * @since 3.0
31
	 * @since 3.0
32
	 */
32
	 */
33
	public static final SimplePropertyDescriptor TOKEN_PROPERTY =
33
	public static final SimplePropertyDescriptor TOKEN_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/PackageDeclaration.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 38-58 Link Here
38
public class PackageDeclaration extends ASTNode {
38
public class PackageDeclaration extends ASTNode {
39
39
40
	/**
40
	/**
41
	 * The "javadoc" structural property of this node type.
41
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
42
	 * @since 3.0
42
	 * @since 3.0
43
	 */
43
	 */
44
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
44
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
45
		new ChildPropertyDescriptor(PackageDeclaration.class, "javadoc", Javadoc.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
45
		new ChildPropertyDescriptor(PackageDeclaration.class, "javadoc", Javadoc.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
46
46
47
	/**
47
	/**
48
	 * The "annotations" structural property of this node type (added in JLS3 API).
48
	 * The "annotations" structural property of this node type (element type: {@link Annotation}) (added in JLS3 API).
49
	 * @since 3.1
49
	 * @since 3.1
50
	 */
50
	 */
51
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
51
	public static final ChildListPropertyDescriptor ANNOTATIONS_PROPERTY =
52
		new ChildListPropertyDescriptor(PackageDeclaration.class, "annotations", Annotation.class, CYCLE_RISK); //$NON-NLS-1$
52
		new ChildListPropertyDescriptor(PackageDeclaration.class, "annotations", Annotation.class, CYCLE_RISK); //$NON-NLS-1$
53
53
54
	/**
54
	/**
55
	 * The "name" structural property of this node type.
55
	 * The "name" structural property of this node type (child type: {@link Name}).
56
	 * @since 3.0
56
	 * @since 3.0
57
	 */
57
	 */
58
	public static final ChildPropertyDescriptor NAME_PROPERTY =
58
	public static final ChildPropertyDescriptor NAME_PROPERTY =
Lines 115-121 Link Here
115
	Javadoc optionalDocComment = null;
115
	Javadoc optionalDocComment = null;
116
116
117
	/**
117
	/**
118
	 * The annotations (element type: <code>Annotation</code>).
118
	 * The annotations (element type: {@link Annotation}).
119
	 * Null in JLS2. Added in JLS3; defaults to an empty list
119
	 * Null in JLS2. Added in JLS3; defaults to an empty list
120
	 * (see constructor).
120
	 * (see constructor).
121
	 * @since 3.1
121
	 * @since 3.1
Lines 238-244 Link Here
238
	 * package declaration (added in JLS3 API).
238
	 * package declaration (added in JLS3 API).
239
	 *
239
	 *
240
	 * @return the live list of annotations
240
	 * @return the live list of annotations
241
	 *    (element type: <code>Annotation</code>)
241
	 *    (element type: {@link Annotation})
242
	 * @exception UnsupportedOperationException if this operation is used in
242
	 * @exception UnsupportedOperationException if this operation is used in
243
	 * a JLS2 AST
243
	 * a JLS2 AST
244
	 * @since 3.1
244
	 * @since 3.1
(-)dom/org/eclipse/jdt/core/dom/ParameterizedType.java (-5 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2008 IBM Corporation and others.
2
 * Copyright (c) 2003, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 35-47 Link Here
35
    int index;
35
    int index;
36
36
37
	/**
37
	/**
38
	 * The "type" structural property of this node type.
38
	 * The "type" structural property of this node type (child type: {@link Type}).
39
	 */
39
	 */
40
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
40
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
41
		new ChildPropertyDescriptor(ParameterizedType.class, "type", Type.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
41
		new ChildPropertyDescriptor(ParameterizedType.class, "type", Type.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
42
42
43
	/**
43
	/**
44
	 * The "typeArguments" structural property of this node type.
44
	 * The "typeArguments" structural property of this node type (element type: {@link Type}).
45
	 */
45
	 */
46
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
46
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
47
		new ChildListPropertyDescriptor(ParameterizedType.class, "typeArguments", Type.class, CYCLE_RISK); //$NON-NLS-1$
47
		new ChildListPropertyDescriptor(ParameterizedType.class, "typeArguments", Type.class, CYCLE_RISK); //$NON-NLS-1$
Lines 82-88 Link Here
82
	private Type type = null;
82
	private Type type = null;
83
83
84
	/**
84
	/**
85
	 * The type arguments (element type: <code>Type</code>).
85
	 * The type arguments (element type: {@link Type}).
86
	 * Defaults to an empty list.
86
	 * Defaults to an empty list.
87
	 */
87
	 */
88
	private ASTNode.NodeList typeArguments =
88
	private ASTNode.NodeList typeArguments =
Lines 222-228 Link Here
222
	 * at least one element and not contain primitive types.
222
	 * at least one element and not contain primitive types.
223
	 *
223
	 *
224
	 * @return the live list of type arguments
224
	 * @return the live list of type arguments
225
	 *    (element type: <code>Type</code>)
225
	 *    (element type: {@link Type})
226
	 */
226
	 */
227
	public List typeArguments() {
227
	public List typeArguments() {
228
		return this.typeArguments;
228
		return this.typeArguments;
(-)dom/org/eclipse/jdt/core/dom/ParenthesizedExpression.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class ParenthesizedExpression extends Expression {
28
public class ParenthesizedExpression extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/PostfixExpression.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 105-118 Link Here
105
	}
105
	}
106
106
107
	/**
107
	/**
108
	 * The "operator" structural property of this node type.
108
	 * The "operator" structural property of this node type (type: {@link PostfixExpression.Operator}).
109
	 * @since 3.0
109
	 * @since 3.0
110
	 */
110
	 */
111
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
111
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
112
		new SimplePropertyDescriptor(PostfixExpression.class, "operator", PostfixExpression.Operator.class, MANDATORY); //$NON-NLS-1$
112
		new SimplePropertyDescriptor(PostfixExpression.class, "operator", PostfixExpression.Operator.class, MANDATORY); //$NON-NLS-1$
113
113
114
	/**
114
	/**
115
	 * The "operand" structural property of this node type.
115
	 * The "operand" structural property of this node type (child type: {@link Expression}).
116
	 * @since 3.0
116
	 * @since 3.0
117
	 */
117
	 */
118
	public static final ChildPropertyDescriptor OPERAND_PROPERTY =
118
	public static final ChildPropertyDescriptor OPERAND_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/PrefixExpression.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 121-134 Link Here
121
	}
121
	}
122
122
123
	/**
123
	/**
124
	 * The "operator" structural property of this node type.
124
	 * The "operator" structural property of this node type (type: {@link PrefixExpression.Operator}).
125
	 * @since 3.0
125
	 * @since 3.0
126
	 */
126
	 */
127
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
127
	public static final SimplePropertyDescriptor OPERATOR_PROPERTY =
128
		new SimplePropertyDescriptor(PrefixExpression.class, "operator", PrefixExpression.Operator.class, MANDATORY); //$NON-NLS-1$
128
		new SimplePropertyDescriptor(PrefixExpression.class, "operator", PrefixExpression.Operator.class, MANDATORY); //$NON-NLS-1$
129
129
130
	/**
130
	/**
131
	 * The "operand" structural property of this node type.
131
	 * The "operand" structural property of this node type (child type: {@link Expression}).
132
	 * @since 3.0
132
	 * @since 3.0
133
	 */
133
	 */
134
	public static final ChildPropertyDescriptor OPERAND_PROPERTY =
134
	public static final ChildPropertyDescriptor OPERAND_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/PrimitiveType.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 155-161 Link Here
155
	}
155
	}
156
156
157
	/**
157
	/**
158
	 * The "primitiveTypeCode" structural property of this node type.
158
	 * The "primitiveTypeCode" structural property of this node type (type: {@link PrimitiveType.Code}).
159
	 * @since 3.0
159
	 * @since 3.0
160
	 */
160
	 */
161
	public static final SimplePropertyDescriptor PRIMITIVE_TYPE_CODE_PROPERTY =
161
	public static final SimplePropertyDescriptor PRIMITIVE_TYPE_CODE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/QualifiedName.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 35-48 Link Here
35
public class QualifiedName extends Name {
35
public class QualifiedName extends Name {
36
36
37
	/**
37
	/**
38
	 * The "qualifier" structural property of this node type.
38
	 * The "qualifier" structural property of this node type (child type: {@link Name}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
41
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
42
		new ChildPropertyDescriptor(QualifiedName.class, "qualifier", Name.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
42
		new ChildPropertyDescriptor(QualifiedName.class, "qualifier", Name.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
43
43
44
	/**
44
	/**
45
	 * The "name" structural property of this node type.
45
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
46
	 * @since 3.0
46
	 * @since 3.0
47
	 */
47
	 */
48
	public static final ChildPropertyDescriptor NAME_PROPERTY =
48
	public static final ChildPropertyDescriptor NAME_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/QualifiedType.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2008 IBM Corporation and others.
2
 * Copyright (c) 2003, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 51-63 Link Here
51
    int index;
51
    int index;
52
52
53
	/**
53
	/**
54
	 * The "qualifier" structural property of this node type.
54
	 * The "qualifier" structural property of this node type (child type: {@link Type}).
55
	 */
55
	 */
56
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
56
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
57
		new ChildPropertyDescriptor(QualifiedType.class, "qualifier", Type.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
57
		new ChildPropertyDescriptor(QualifiedType.class, "qualifier", Type.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
58
58
59
	/**
59
	/**
60
	 * The "name" structural property of this node type.
60
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
61
	 */
61
	 */
62
	public static final ChildPropertyDescriptor NAME_PROPERTY =
62
	public static final ChildPropertyDescriptor NAME_PROPERTY =
63
		new ChildPropertyDescriptor(QualifiedType.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
63
		new ChildPropertyDescriptor(QualifiedType.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
(-)dom/org/eclipse/jdt/core/dom/ReturnStatement.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class ReturnStatement extends Statement {
28
public class ReturnStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/SimpleName.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 32-38 Link Here
32
public class SimpleName extends Name {
32
public class SimpleName extends Name {
33
33
34
	/**
34
	/**
35
	 * The "identifier" structural property of this node type.
35
	 * The "identifier" structural property of this node type (type: {@link String}).
36
	 *
36
	 *
37
	 * @since 3.0
37
	 * @since 3.0
38
	 */
38
	 */
(-)dom/org/eclipse/jdt/core/dom/SimpleType.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 27-33 Link Here
27
public class SimpleType extends Type {
27
public class SimpleType extends Type {
28
28
29
	/**
29
	/**
30
	 * The "name" structural property of this node type.
30
	 * The "name" structural property of this node type (child type: {@link Name}).
31
	 * @since 3.0
31
	 * @since 3.0
32
	 */
32
	 */
33
	public static final ChildPropertyDescriptor NAME_PROPERTY =
33
	public static final ChildPropertyDescriptor NAME_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/SingleMemberAnnotation.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 37-43 Link Here
37
		internalTypeNamePropertyFactory(SingleMemberAnnotation.class);
37
		internalTypeNamePropertyFactory(SingleMemberAnnotation.class);
38
38
39
	/**
39
	/**
40
	 * The "value" structural property of this node type.
40
	 * The "value" structural property of this node type (child type: {@link Expression}).
41
	 */
41
	 */
42
	public static final ChildPropertyDescriptor VALUE_PROPERTY =
42
	public static final ChildPropertyDescriptor VALUE_PROPERTY =
43
		new ChildPropertyDescriptor(SingleMemberAnnotation.class, "value", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
43
		new ChildPropertyDescriptor(SingleMemberAnnotation.class, "value", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
(-)dom/org/eclipse/jdt/core/dom/SingleVariableDeclaration.java (-10 / +10 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 39-87 Link Here
39
public class SingleVariableDeclaration extends VariableDeclaration {
39
public class SingleVariableDeclaration extends VariableDeclaration {
40
40
41
	/**
41
	/**
42
	 * The "modifiers" structural property of this node type (JLS2 API only).
42
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
43
	 * @since 3.0
43
	 * @since 3.0
44
	 */
44
	 */
45
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
45
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
46
		new SimplePropertyDescriptor(SingleVariableDeclaration.class, "modifiers", int.class, MANDATORY); //$NON-NLS-1$
46
		new SimplePropertyDescriptor(SingleVariableDeclaration.class, "modifiers", int.class, MANDATORY); //$NON-NLS-1$
47
47
48
	/**
48
	/**
49
	 * The "modifiers" structural property of this node type (added in JLS3 API).
49
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
50
	 * @since 3.1
50
	 * @since 3.1
51
	 */
51
	 */
52
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
52
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
53
		new ChildListPropertyDescriptor(SingleVariableDeclaration.class, "modifiers", IExtendedModifier.class, CYCLE_RISK); //$NON-NLS-1$
53
		new ChildListPropertyDescriptor(SingleVariableDeclaration.class, "modifiers", IExtendedModifier.class, CYCLE_RISK); //$NON-NLS-1$
54
54
55
	/**
55
	/**
56
	 * The "name" structural property of this node type.
56
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
57
	 * @since 3.0
57
	 * @since 3.0
58
	 */
58
	 */
59
	public static final ChildPropertyDescriptor NAME_PROPERTY =
59
	public static final ChildPropertyDescriptor NAME_PROPERTY =
60
		new ChildPropertyDescriptor(SingleVariableDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
60
		new ChildPropertyDescriptor(SingleVariableDeclaration.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
61
61
62
	/**
62
	/**
63
	 * The "type" structural property of this node type.
63
	 * The "type" structural property of this node type (child type: {@link Type}).
64
	 * @since 3.0
64
	 * @since 3.0
65
	 */
65
	 */
66
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
66
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
67
		new ChildPropertyDescriptor(SingleVariableDeclaration.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
67
		new ChildPropertyDescriptor(SingleVariableDeclaration.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
68
68
69
	/**
69
	/**
70
	 * The "varargs" structural property of this node type (added in JLS3 API).
70
	 * The "varargs" structural property of this node type (type: {@link Boolean}) (added in JLS3 API).
71
	 * @since 3.1
71
	 * @since 3.1
72
	 */
72
	 */
73
	public static final SimplePropertyDescriptor VARARGS_PROPERTY =
73
	public static final SimplePropertyDescriptor VARARGS_PROPERTY =
74
		new SimplePropertyDescriptor(SingleVariableDeclaration.class, "varargs", boolean.class, MANDATORY); //$NON-NLS-1$
74
		new SimplePropertyDescriptor(SingleVariableDeclaration.class, "varargs", boolean.class, MANDATORY); //$NON-NLS-1$
75
75
76
	/**
76
	/**
77
	 * The "extraDimensions" structural property of this node type.
77
	 * The "extraDimensions" structural property of this node type (type: {@link Integer}).
78
	 * @since 3.0
78
	 * @since 3.0
79
	 */
79
	 */
80
	public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY =
80
	public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY =
81
		new SimplePropertyDescriptor(SingleVariableDeclaration.class, "extraDimensions", int.class, MANDATORY); //$NON-NLS-1$
81
		new SimplePropertyDescriptor(SingleVariableDeclaration.class, "extraDimensions", int.class, MANDATORY); //$NON-NLS-1$
82
82
83
	/**
83
	/**
84
	 * The "initializer" structural property of this node type.
84
	 * The "initializer" structural property of this node type (child type: {@link Expression}).
85
	 * @since 3.0
85
	 * @since 3.0
86
	 */
86
	 */
87
	public static final ChildPropertyDescriptor INITIALIZER_PROPERTY =
87
	public static final ChildPropertyDescriptor INITIALIZER_PROPERTY =
Lines 143-149 Link Here
143
	}
143
	}
144
144
145
	/**
145
	/**
146
	 * The extended modifiers (element type: <code>IExtendedModifier</code>).
146
	 * The extended modifiers (element type: {@link IExtendedModifier}).
147
	 * Null in JLS2. Added in JLS3; defaults to an empty list
147
	 * Null in JLS2. Added in JLS3; defaults to an empty list
148
	 * (see constructor).
148
	 * (see constructor).
149
	 *
149
	 *
Lines 384-390 Link Here
384
	 * </p>
384
	 * </p>
385
	 *
385
	 *
386
	 * @return the live list of modifiers and annotations
386
	 * @return the live list of modifiers and annotations
387
	 *    (element type: <code>IExtendedModifier</code>)
387
	 *    (element type: {@link IExtendedModifier})
388
	 * @exception UnsupportedOperationException if this operation is used in
388
	 * @exception UnsupportedOperationException if this operation is used in
389
	 * a JLS2 AST
389
	 * a JLS2 AST
390
	 * @since 3.1
390
	 * @since 3.1
(-)dom/org/eclipse/jdt/core/dom/StringLiteral.java (-1 / +1 lines)
Lines 27-33 Link Here
27
public class StringLiteral extends Expression {
27
public class StringLiteral extends Expression {
28
28
29
	/**
29
	/**
30
	 * The "escapedValue" structural property of this node type.
30
	 * The "escapedValue" structural property of this node type (type: {@link String}).
31
	 * @since 3.0
31
	 * @since 3.0
32
	 */
32
	 */
33
	public static final SimplePropertyDescriptor ESCAPED_VALUE_PROPERTY =
33
	public static final SimplePropertyDescriptor ESCAPED_VALUE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java (-7 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 35-48 Link Here
35
public class SuperConstructorInvocation extends Statement {
35
public class SuperConstructorInvocation extends Statement {
36
36
37
	/**
37
	/**
38
	 * The "expression" structural property of this node type.
38
	 * The "expression" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
42
		new ChildPropertyDescriptor(SuperConstructorInvocation.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
42
		new ChildPropertyDescriptor(SuperConstructorInvocation.class, "expression", Expression.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
43
43
44
	/**
44
	/**
45
	 * The "typeArguments" structural property of this node type (added in JLS3 API).
45
	 * The "typeArguments" structural property of this node type (element type: {@link Type}) (added in JLS3 API).
46
	 * @since 3.1
46
	 * @since 3.1
47
	 */
47
	 */
48
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
48
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
Lines 111-117 Link Here
111
	private Expression optionalExpression = null;
111
	private Expression optionalExpression = null;
112
112
113
	/**
113
	/**
114
	 * The type arguments (element type: <code>Type</code>).
114
	 * The type arguments (element type: {@link Type}).
115
	 * Null in JLS2. Added in JLS3; defaults to an empty list
115
	 * Null in JLS2. Added in JLS3; defaults to an empty list
116
	 * (see constructor).
116
	 * (see constructor).
117
	 * @since 3.1
117
	 * @since 3.1
Lines 120-126 Link Here
120
120
121
	/**
121
	/**
122
	 * The list of argument expressions (element type:
122
	 * The list of argument expressions (element type:
123
	 * <code>Expression</code>). Defaults to an empty list.
123
	 * {@link Expression}). Defaults to an empty list.
124
	 */
124
	 */
125
	private ASTNode.NodeList arguments =
125
	private ASTNode.NodeList arguments =
126
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
126
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
Lines 258-264 Link Here
258
	 * invocation (added in JLS3 API).
258
	 * invocation (added in JLS3 API).
259
	 *
259
	 *
260
	 * @return the live list of type arguments
260
	 * @return the live list of type arguments
261
	 *    (element type: <code>Type</code>)
261
	 *    (element type: {@link Type})
262
	 * @exception UnsupportedOperationException if this operation is used in
262
	 * @exception UnsupportedOperationException if this operation is used in
263
	 * a JLS2 AST
263
	 * a JLS2 AST
264
	 * @since 3.1
264
	 * @since 3.1
Lines 276-282 Link Here
276
	 * constructor invocation statement.
276
	 * constructor invocation statement.
277
	 *
277
	 *
278
	 * @return the live list of argument expressions
278
	 * @return the live list of argument expressions
279
	 *    (element type: <code>Expression</code>)
279
	 *    (element type: {@link Expression})
280
	 */
280
	 */
281
	public List arguments() {
281
	public List arguments() {
282
		return this.arguments;
282
		return this.arguments;
(-)dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 34-47 Link Here
34
public class SuperFieldAccess extends Expression {
34
public class SuperFieldAccess extends Expression {
35
35
36
	/**
36
	/**
37
	 * The "qualifier" structural property of this node type.
37
	 * The "qualifier" structural property of this node type (child type: {@link Name}).
38
	 * @since 3.0
38
	 * @since 3.0
39
	 */
39
	 */
40
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
40
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
41
		new ChildPropertyDescriptor(SuperFieldAccess.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
41
		new ChildPropertyDescriptor(SuperFieldAccess.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
42
42
43
	/**
43
	/**
44
	 * The "name" structural property of this node type.
44
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
45
	 * @since 3.0
45
	 * @since 3.0
46
	 */
46
	 */
47
	public static final ChildPropertyDescriptor NAME_PROPERTY =
47
	public static final ChildPropertyDescriptor NAME_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java (-9 / +9 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 36-63 Link Here
36
public class SuperMethodInvocation extends Expression {
36
public class SuperMethodInvocation extends Expression {
37
37
38
	/**
38
	/**
39
	 * The "qualifier" structural property of this node type.
39
	 * The "qualifier" structural property of this node type (child type: {@link Name}).
40
	 * @since 3.0
40
	 * @since 3.0
41
	 */
41
	 */
42
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
42
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
43
		new ChildPropertyDescriptor(SuperMethodInvocation.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
43
		new ChildPropertyDescriptor(SuperMethodInvocation.class, "qualifier", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
44
44
45
	/**
45
	/**
46
	 * The "typeArguments" structural property of this node type (added in JLS3 API).
46
	 * The "typeArguments" structural property of this node type (element type: {@link Type}) (added in JLS3 API).
47
	 * @since 3.1
47
	 * @since 3.1
48
	 */
48
	 */
49
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
49
	public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY =
50
		new ChildListPropertyDescriptor(SuperMethodInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
50
		new ChildListPropertyDescriptor(SuperMethodInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
51
51
52
	/**
52
	/**
53
	 * The "name" structural property of this node type.
53
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
54
	 * @since 3.0
54
	 * @since 3.0
55
	 */
55
	 */
56
	public static final ChildPropertyDescriptor NAME_PROPERTY =
56
	public static final ChildPropertyDescriptor NAME_PROPERTY =
57
		new ChildPropertyDescriptor(SuperMethodInvocation.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
57
		new ChildPropertyDescriptor(SuperMethodInvocation.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
58
58
59
	/**
59
	/**
60
	 * The "arguments" structural property of this node type.
60
	 * The "arguments" structural property of this node type (element type: {@link Expression}).
61
	 * @since 3.0
61
	 * @since 3.0
62
	 */
62
	 */
63
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
63
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
Lines 121-127 Link Here
121
	private Name optionalQualifier = null;
121
	private Name optionalQualifier = null;
122
122
123
	/**
123
	/**
124
	 * The type arguments (element type: <code>Type</code>).
124
	 * The type arguments (element type: {@link Type}).
125
	 * Null in JLS2. Added in JLS3; defaults to an empty list
125
	 * Null in JLS2. Added in JLS3; defaults to an empty list
126
	 * (see constructor).
126
	 * (see constructor).
127
	 * @since 3.1
127
	 * @since 3.1
Lines 136-142 Link Here
136
136
137
	/**
137
	/**
138
	 * The list of argument expressions (element type:
138
	 * The list of argument expressions (element type:
139
	 * <code>Expression</code>). Defaults to an empty list.
139
	 * {@link Expression}). Defaults to an empty list.
140
	 */
140
	 */
141
	private ASTNode.NodeList arguments =
141
	private ASTNode.NodeList arguments =
142
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
142
		new ASTNode.NodeList(ARGUMENTS_PROPERTY);
Lines 294-300 Link Here
294
	 * invocation (added in JLS3 API).
294
	 * invocation (added in JLS3 API).
295
	 *
295
	 *
296
	 * @return the live list of type arguments
296
	 * @return the live list of type arguments
297
	 *    (element type: <code>Type</code>)
297
	 *    (element type: {@link Type})
298
	 * @exception UnsupportedOperationException if this operation is used in
298
	 * @exception UnsupportedOperationException if this operation is used in
299
	 * a JLS2 AST
299
	 * a JLS2 AST
300
	 * @since 3.1
300
	 * @since 3.1
Lines 352-358 Link Here
352
	 * "super" method invocation expression.
352
	 * "super" method invocation expression.
353
	 *
353
	 *
354
	 * @return the live list of argument expressions
354
	 * @return the live list of argument expressions
355
	 *    (element type: <code>Expression</code>)
355
	 *    (element type: {@link Expression})
356
	 */
356
	 */
357
	public List arguments() {
357
	public List arguments() {
358
		return this.arguments;
358
		return this.arguments;
(-)dom/org/eclipse/jdt/core/dom/SwitchCase.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 31-37 Link Here
31
public class SwitchCase extends Statement {
31
public class SwitchCase extends Statement {
32
32
33
	/**
33
	/**
34
	 * The "expression" structural property of this node type.
34
	 * The "expression" structural property of this node type (child type: {@link Expression}).
35
	 * @since 3.0
35
	 * @since 3.0
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
37
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/SwitchStatement.java (-5 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 35-48 Link Here
35
public class SwitchStatement extends Statement {
35
public class SwitchStatement extends Statement {
36
36
37
	/**
37
	/**
38
	 * The "expression" structural property of this node type.
38
	 * The "expression" structural property of this node type (child type: {@link Expression}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
41
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
42
		new ChildPropertyDescriptor(SwitchStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
42
		new ChildPropertyDescriptor(SwitchStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
43
43
44
	/**
44
	/**
45
	 * The "statements" structural property of this node type.
45
	 * The "statements" structural property of this node type (element type: {@link Statement}).
46
	 * @since 3.0
46
	 * @since 3.0
47
	 */
47
	 */
48
	public static final ChildListPropertyDescriptor STATEMENTS_PROPERTY =
48
	public static final ChildListPropertyDescriptor STATEMENTS_PROPERTY =
Lines 85-91 Link Here
85
85
86
	/**
86
	/**
87
	 * The statements and SwitchCase nodes
87
	 * The statements and SwitchCase nodes
88
	 * (element type: <code>Statement</code>).
88
	 * (element type: {@link Statement}).
89
	 * Defaults to an empty list.
89
	 * Defaults to an empty list.
90
	 */
90
	 */
91
	private ASTNode.NodeList statements =
91
	private ASTNode.NodeList statements =
Lines 225-231 Link Here
225
	 * the switch groups.
225
	 * the switch groups.
226
	 *
226
	 *
227
	 * @return the live list of statement nodes
227
	 * @return the live list of statement nodes
228
	 *    (element type: <code>Statement</code>)
228
	 *    (element type: {@link Statement})
229
	 */
229
	 */
230
	public List statements() {
230
	public List statements() {
231
		return this.statements;
231
		return this.statements;
(-)dom/org/eclipse/jdt/core/dom/SynchronizedStatement.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class SynchronizedStatement extends Statement {
28
public class SynchronizedStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
35
		new ChildPropertyDescriptor(SynchronizedStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(SynchronizedStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "body" structural property of this node type.
38
	 * The "body" structural property of this node type (child type: {@link Block}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/TagElement.java (-5 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 36-42 Link Here
36
public final class TagElement extends ASTNode implements IDocElement {
36
public final class TagElement extends ASTNode implements IDocElement {
37
37
38
	/**
38
	/**
39
	 * The "tagName" structural property of this node type.
39
	 * The "tagName" structural property of this node type (type: {@link String}).
40
	 *
40
	 *
41
	 * @since 3.0
41
	 * @since 3.0
42
	 */
42
	 */
Lines 44-50 Link Here
44
		new SimplePropertyDescriptor(TagElement.class, "tagName", String.class, OPTIONAL); //$NON-NLS-1$
44
		new SimplePropertyDescriptor(TagElement.class, "tagName", String.class, OPTIONAL); //$NON-NLS-1$
45
45
46
	/**
46
	/**
47
	 * The "fragments" structural property of this node type.
47
	 * The "fragments" structural property of this node type (element type: {@link IDocElement}).
48
	 * @since 3.0
48
	 * @since 3.0
49
	 */
49
	 */
50
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
50
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
Lines 189-195 Link Here
189
	private String optionalTagName = null;
189
	private String optionalTagName = null;
190
190
191
	/**
191
	/**
192
	 * The list of doc elements (element type: <code>IDocElement</code>).
192
	 * The list of doc elements (element type: {@link IDocElement}).
193
	 * Defaults to an empty list.
193
	 * Defaults to an empty list.
194
	 */
194
	 */
195
	private ASTNode.NodeList fragments =
195
	private ASTNode.NodeList fragments =
Lines 356-362 Link Here
356
	 * of node will trigger an exception.
356
	 * of node will trigger an exception.
357
	 *
357
	 *
358
	 * @return the live list of doc elements in this tag element
358
	 * @return the live list of doc elements in this tag element
359
	 * (element type: <code>ASTNode</code>)
359
	 * (element type: {@link ASTNode})
360
	 */
360
	 */
361
	public List fragments() {
361
	public List fragments() {
362
		return this.fragments;
362
		return this.fragments;
(-)dom/org/eclipse/jdt/core/dom/TextElement.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2004, 2008 IBM Corporation and others.
2
 * Copyright (c) 2004, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 30-36 Link Here
30
public final class TextElement extends ASTNode implements IDocElement {
30
public final class TextElement extends ASTNode implements IDocElement {
31
31
32
	/**
32
	/**
33
	 * The "text" structural property of this node type.
33
	 * The "text" structural property of this node type (type: {@link String}).
34
	 *
34
	 *
35
	 * @since 3.0
35
	 * @since 3.0
36
	 */
36
	 */
(-)dom/org/eclipse/jdt/core/dom/ThisExpression.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 33-39 Link Here
33
public class ThisExpression extends Expression {
33
public class ThisExpression extends Expression {
34
34
35
	/**
35
	/**
36
	 * The "qualifier" structural property of this node type.
36
	 * The "qualifier" structural property of this node type (child type: {@link Name}).
37
	 * @since 3.0
37
	 * @since 3.0
38
	 */
38
	 */
39
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
39
	public static final ChildPropertyDescriptor QUALIFIER_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/ThrowStatement.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class ThrowStatement extends Statement {
28
public class ThrowStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/TryStatement.java (-6 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 30-50 Link Here
30
public class TryStatement extends Statement {
30
public class TryStatement extends Statement {
31
31
32
	/**
32
	/**
33
	 * The "body" structural property of this node type.
33
	 * The "body" structural property of this node type (child type: {@link Block}).
34
	 * @since 3.0
34
	 * @since 3.0
35
	 */
35
	 */
36
	public static final ChildPropertyDescriptor BODY_PROPERTY =
36
	public static final ChildPropertyDescriptor BODY_PROPERTY =
37
		new ChildPropertyDescriptor(TryStatement.class, "body", Block.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
37
		new ChildPropertyDescriptor(TryStatement.class, "body", Block.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
38
38
39
	/**
39
	/**
40
	 * The "catchClauses" structural property of this node type.
40
	 * The "catchClauses" structural property of this node type (element type: {@link CatchClause}).
41
	 * @since 3.0
41
	 * @since 3.0
42
	 */
42
	 */
43
	public static final ChildListPropertyDescriptor CATCH_CLAUSES_PROPERTY =
43
	public static final ChildListPropertyDescriptor CATCH_CLAUSES_PROPERTY =
44
		new ChildListPropertyDescriptor(TryStatement.class, "catchClauses", CatchClause.class, CYCLE_RISK); //$NON-NLS-1$
44
		new ChildListPropertyDescriptor(TryStatement.class, "catchClauses", CatchClause.class, CYCLE_RISK); //$NON-NLS-1$
45
45
46
	/**
46
	/**
47
	 * The "finally" structural property of this node type.
47
	 * The "finally" structural property of this node type (child type: {@link Block}).
48
	 * @since 3.0
48
	 * @since 3.0
49
	 */
49
	 */
50
	public static final ChildPropertyDescriptor FINALLY_PROPERTY =
50
	public static final ChildPropertyDescriptor FINALLY_PROPERTY =
Lines 86-92 Link Here
86
	private Block body = null;
86
	private Block body = null;
87
87
88
	/**
88
	/**
89
	 * The catch clauses (element type: <code>CatchClause</code>).
89
	 * The catch clauses (element type: {@link CatchClause}).
90
	 * Defaults to an empty list.
90
	 * Defaults to an empty list.
91
	 */
91
	 */
92
	private ASTNode.NodeList catchClauses =
92
	private ASTNode.NodeList catchClauses =
Lines 243-249 Link Here
243
	 * Returns the live ordered list of catch clauses for this try statement.
243
	 * Returns the live ordered list of catch clauses for this try statement.
244
	 *
244
	 *
245
	 * @return the live list of catch clauses
245
	 * @return the live list of catch clauses
246
	 *    (element type: <code>CatchClause</code>)
246
	 *    (element type: {@link CatchClause})
247
	 */
247
	 */
248
	public List catchClauses() {
248
	public List catchClauses() {
249
		return this.catchClauses;
249
		return this.catchClauses;
(-)dom/org/eclipse/jdt/core/dom/TypeDeclaration.java (-13 / +13 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 90-96 Link Here
90
		internalModifiers2PropertyFactory(TypeDeclaration.class);
90
		internalModifiers2PropertyFactory(TypeDeclaration.class);
91
91
92
	/**
92
	/**
93
	 * The "interface" structural property of this node type.
93
	 * The "interface" structural property of this node type (type: {@link Boolean}).
94
	 * @since 3.0
94
	 * @since 3.0
95
	 */
95
	 */
96
	public static final SimplePropertyDescriptor INTERFACE_PROPERTY =
96
	public static final SimplePropertyDescriptor INTERFACE_PROPERTY =
Lines 104-138 Link Here
104
		internalNamePropertyFactory(TypeDeclaration.class);
104
		internalNamePropertyFactory(TypeDeclaration.class);
105
105
106
	/**
106
	/**
107
	 * The "superclass" structural property of this node type (JLS2 API only).
107
	 * The "superclass" structural property of this node type (child type: {@link Name}) (JLS2 API only).
108
	 * @since 3.0
108
	 * @since 3.0
109
	 */
109
	 */
110
	public static final ChildPropertyDescriptor SUPERCLASS_PROPERTY =
110
	public static final ChildPropertyDescriptor SUPERCLASS_PROPERTY =
111
		new ChildPropertyDescriptor(TypeDeclaration.class, "superclass", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
111
		new ChildPropertyDescriptor(TypeDeclaration.class, "superclass", Name.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
112
112
113
	/**
113
	/**
114
	 * The "superInterfaces" structural property of this node type (JLS2 API only).
114
	 * The "superInterfaces" structural property of this node type (element type: {@link Name}) (JLS2 API only).
115
	 * @since 3.0
115
	 * @since 3.0
116
	 */
116
	 */
117
	public static final ChildListPropertyDescriptor SUPER_INTERFACES_PROPERTY =
117
	public static final ChildListPropertyDescriptor SUPER_INTERFACES_PROPERTY =
118
		new ChildListPropertyDescriptor(TypeDeclaration.class, "superInterfaces", Name.class, NO_CYCLE_RISK); //$NON-NLS-1$
118
		new ChildListPropertyDescriptor(TypeDeclaration.class, "superInterfaces", Name.class, NO_CYCLE_RISK); //$NON-NLS-1$
119
119
120
	/**
120
	/**
121
	 * The "superclassType" structural property of this node type (added in JLS3 API).
121
	 * The "superclassType" structural property of this node type (child type: {@link Type}) (added in JLS3 API).
122
	 * @since 3.1
122
	 * @since 3.1
123
	 */
123
	 */
124
	public static final ChildPropertyDescriptor SUPERCLASS_TYPE_PROPERTY =
124
	public static final ChildPropertyDescriptor SUPERCLASS_TYPE_PROPERTY =
125
		new ChildPropertyDescriptor(TypeDeclaration.class, "superclassType", Type.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
125
		new ChildPropertyDescriptor(TypeDeclaration.class, "superclassType", Type.class, OPTIONAL, NO_CYCLE_RISK); //$NON-NLS-1$
126
126
127
	/**
127
	/**
128
	 * The "superInterfaceTypes" structural property of this node type (added in JLS3 API).
128
	 * The "superInterfaceTypes" structural property of this node type (element type: {@link Type}) (added in JLS3 API).
129
	 * @since 3.1
129
	 * @since 3.1
130
	 */
130
	 */
131
	public static final ChildListPropertyDescriptor SUPER_INTERFACE_TYPES_PROPERTY =
131
	public static final ChildListPropertyDescriptor SUPER_INTERFACE_TYPES_PROPERTY =
132
		new ChildListPropertyDescriptor(TypeDeclaration.class, "superInterfaceTypes", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
132
		new ChildListPropertyDescriptor(TypeDeclaration.class, "superInterfaceTypes", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
133
133
134
	/**
134
	/**
135
	 * The "typeParameters" structural property of this node type (added in JLS3 API).
135
	 * The "typeParameters" structural property of this node type (element type: {@link TypeParameter}) (added in JLS3 API).
136
	 * @since 3.1
136
	 * @since 3.1
137
	 */
137
	 */
138
	public static final ChildListPropertyDescriptor TYPE_PARAMETERS_PROPERTY =
138
	public static final ChildListPropertyDescriptor TYPE_PARAMETERS_PROPERTY =
Lines 212-218 Link Here
212
	private boolean isInterface = false;
212
	private boolean isInterface = false;
213
213
214
	/**
214
	/**
215
	 * The type paramters (element type: <code>TypeParameter</code>).
215
	 * The type paramters (element type: {@link TypeParameter}).
216
	 * Null in JLS2. Added in JLS3; defaults to an empty list
216
	 * Null in JLS2. Added in JLS3; defaults to an empty list
217
	 * (see constructor).
217
	 * (see constructor).
218
	 * @since 3.1
218
	 * @since 3.1
Lines 227-233 Link Here
227
	private Name optionalSuperclassName = null;
227
	private Name optionalSuperclassName = null;
228
228
229
	/**
229
	/**
230
	 * The superinterface names (element type: <code>Name</code>).
230
	 * The superinterface names (element type: {@link Name}).
231
	 * JLS2 only; defaults to an empty list. Not used in JLS3.
231
	 * JLS2 only; defaults to an empty list. Not used in JLS3.
232
	 * (see constructor).
232
	 * (see constructor).
233
	 *
233
	 *
Lines 243-249 Link Here
243
	private Type optionalSuperclassType = null;
243
	private Type optionalSuperclassType = null;
244
244
245
	/**
245
	/**
246
	 * The superinterface types (element type: <code>Type</code>).
246
	 * The superinterface types (element type: {@link Type}).
247
	 * Null in JLS2. Added in JLS3; defaults to an empty list
247
	 * Null in JLS2. Added in JLS3; defaults to an empty list
248
	 * (see constructor).
248
	 * (see constructor).
249
	 * @since 3.1
249
	 * @since 3.1
Lines 517-523 Link Here
517
	 * declaration (added in JLS3 API). This list is non-empty for parameterized types.
517
	 * declaration (added in JLS3 API). This list is non-empty for parameterized types.
518
	 *
518
	 *
519
	 * @return the live list of type parameters
519
	 * @return the live list of type parameters
520
	 *    (element type: <code>TypeParameter</code>)
520
	 *    (element type: {@link TypeParameter})
521
	 * @exception UnsupportedOperationException if this operation is used in
521
	 * @exception UnsupportedOperationException if this operation is used in
522
	 * a JLS2 AST
522
	 * a JLS2 AST
523
	 * @since 3.1
523
	 * @since 3.1
Lines 655-661 Link Here
655
	 * extends.
655
	 * extends.
656
	 *
656
	 *
657
	 * @return the live list of interface names
657
	 * @return the live list of interface names
658
	 *    (element type: <code>Name</code>)
658
	 *    (element type: {@link Name})
659
	 * @exception UnsupportedOperationException if this operation is used in
659
	 * @exception UnsupportedOperationException if this operation is used in
660
	 * an AST later than JLS2
660
	 * an AST later than JLS2
661
	 * @deprecated In the JLS3 API, this method is replaced by
661
	 * @deprecated In the JLS3 API, this method is replaced by
Lines 685-691 Link Here
685
	 * these are the interfaces that this interface extends.
685
	 * these are the interfaces that this interface extends.
686
	 *
686
	 *
687
	 * @return the live list of interface types
687
	 * @return the live list of interface types
688
	 *    (element type: <code>Type</code>)
688
	 *    (element type: {@link Type})
689
	 * @exception UnsupportedOperationException if this operation is used in
689
	 * @exception UnsupportedOperationException if this operation is used in
690
	 * a JLS2 AST
690
	 * a JLS2 AST
691
	 * @since 3.1
691
	 * @since 3.1
(-)dom/org/eclipse/jdt/core/dom/TypeDeclarationStatement.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 41-54 Link Here
41
public class TypeDeclarationStatement extends Statement {
41
public class TypeDeclarationStatement extends Statement {
42
42
43
	/**
43
	/**
44
	 * The "typeDeclaration" structural property of this node type (JLS2 API only).
44
	 * The "typeDeclaration" structural property of this node type (child type: {@link TypeDeclaration}) (JLS2 API only).
45
	 * @since 3.0
45
	 * @since 3.0
46
	 */
46
	 */
47
	public static final ChildPropertyDescriptor TYPE_DECLARATION_PROPERTY =
47
	public static final ChildPropertyDescriptor TYPE_DECLARATION_PROPERTY =
48
		new ChildPropertyDescriptor(TypeDeclarationStatement.class, "typeDeclaration", TypeDeclaration.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
48
		new ChildPropertyDescriptor(TypeDeclarationStatement.class, "typeDeclaration", TypeDeclaration.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
49
49
50
	/**
50
	/**
51
	 * The "declaration" structural property of this node type (added in JLS3 API).
51
	 * The "declaration" structural property of this node type (child type: {@link AbstractTypeDeclaration}) (added in JLS3 API).
52
	 * @since 3.1
52
	 * @since 3.1
53
	 */
53
	 */
54
	public static final ChildPropertyDescriptor DECLARATION_PROPERTY =
54
	public static final ChildPropertyDescriptor DECLARATION_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/TypeLiteral.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-34 Link Here
28
public class TypeLiteral extends Expression {
28
public class TypeLiteral extends Expression {
29
29
30
	/**
30
	/**
31
	 * The "type" structural property of this node type.
31
	 * The "type" structural property of this node type (child type: {@link Type}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
34
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/TypeParameter.java (-5 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2008 IBM Corporation and others.
2
 * Copyright (c) 2003, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 27-39 Link Here
27
public class TypeParameter extends ASTNode {
27
public class TypeParameter extends ASTNode {
28
28
29
	/**
29
	/**
30
	 * The "name" structural property of this node type.
30
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
31
	 */
31
	 */
32
	public static final ChildPropertyDescriptor NAME_PROPERTY =
32
	public static final ChildPropertyDescriptor NAME_PROPERTY =
33
		new ChildPropertyDescriptor(TypeParameter.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
33
		new ChildPropertyDescriptor(TypeParameter.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
34
34
35
	/**
35
	/**
36
	 * The "typeBounds" structural property of this node type.
36
	 * The "typeBounds" structural property of this node type (element type: {@link Type}).
37
	 */
37
	 */
38
	public static final ChildListPropertyDescriptor TYPE_BOUNDS_PROPERTY =
38
	public static final ChildListPropertyDescriptor TYPE_BOUNDS_PROPERTY =
39
		new ChildListPropertyDescriptor(TypeParameter.class, "typeBounds", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
39
		new ChildListPropertyDescriptor(TypeParameter.class, "typeBounds", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
Lines 74-80 Link Here
74
	private SimpleName typeVariableName = null;
74
	private SimpleName typeVariableName = null;
75
75
76
	/**
76
	/**
77
	 * The type bounds (element type: <code>Type</code>).
77
	 * The type bounds (element type: {@link Type}).
78
	 * Defaults to an empty list.
78
	 * Defaults to an empty list.
79
	 */
79
	 */
80
	private ASTNode.NodeList typeBounds =
80
	private ASTNode.NodeList typeBounds =
Lines 231-237 Link Here
231
	 * and parameterized types are allowed).
231
	 * and parameterized types are allowed).
232
	 *
232
	 *
233
	 * @return the live list of type bounds
233
	 * @return the live list of type bounds
234
	 *    (element type: <code>Type</code>)
234
	 *    (element type: {@link Type})
235
	 */
235
	 */
236
	public List typeBounds() {
236
	public List typeBounds() {
237
		return this.typeBounds;
237
		return this.typeBounds;
(-)dom/org/eclipse/jdt/core/dom/VariableDeclarationExpression.java (-8 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 45-72 Link Here
45
public class VariableDeclarationExpression extends Expression {
45
public class VariableDeclarationExpression extends Expression {
46
46
47
	/**
47
	/**
48
	 * The "modifiers" structural property of this node type (JLS2 API only).
48
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
49
	 * @since 3.0
49
	 * @since 3.0
50
	 */
50
	 */
51
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
51
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
52
		new SimplePropertyDescriptor(VariableDeclarationExpression.class, "modifiers", int.class, MANDATORY); //$NON-NLS-1$
52
		new SimplePropertyDescriptor(VariableDeclarationExpression.class, "modifiers", int.class, MANDATORY); //$NON-NLS-1$
53
53
54
	/**
54
	/**
55
	 * The "modifiers" structural property of this node type (added in JLS3 API).
55
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
56
	 * @since 3.1
56
	 * @since 3.1
57
	 */
57
	 */
58
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
58
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
59
		new ChildListPropertyDescriptor(VariableDeclarationExpression.class, "modifiers", IExtendedModifier.class, CYCLE_RISK); //$NON-NLS-1$
59
		new ChildListPropertyDescriptor(VariableDeclarationExpression.class, "modifiers", IExtendedModifier.class, CYCLE_RISK); //$NON-NLS-1$
60
60
61
	/**
61
	/**
62
	 * The "type" structural property of this node type.
62
	 * The "type" structural property of this node type (child type: {@link Type}).
63
	 * @since 3.0
63
	 * @since 3.0
64
	 */
64
	 */
65
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
65
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
66
		new ChildPropertyDescriptor(VariableDeclarationExpression.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
66
		new ChildPropertyDescriptor(VariableDeclarationExpression.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
67
67
68
	/**
68
	/**
69
	 * The "fragments" structural property of this node type).
69
	 * The "fragments" structural property of this node type (element type: {@link VariableDeclarationFragment}).
70
	 * @since 3.0
70
	 * @since 3.0
71
	 */
71
	 */
72
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
72
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
Lines 124-130 Link Here
124
	}
124
	}
125
125
126
	/**
126
	/**
127
	 * The extended modifiers (element type: <code>IExtendedModifier</code>).
127
	 * The extended modifiers (element type: {@link IExtendedModifier}).
128
	 * Null in JLS2. Added in JLS3; defaults to an empty list
128
	 * Null in JLS2. Added in JLS3; defaults to an empty list
129
	 * (see constructor).
129
	 * (see constructor).
130
	 * @since 3.0
130
	 * @since 3.0
Lines 281-287 Link Here
281
	 * </p>
281
	 * </p>
282
	 *
282
	 *
283
	 * @return the live list of modifiers and annotations
283
	 * @return the live list of modifiers and annotations
284
	 *    (element type: <code>IExtendedModifier</code>)
284
	 *    (element type: {@link IExtendedModifier})
285
	 * @exception UnsupportedOperationException if this operation is used in
285
	 * @exception UnsupportedOperationException if this operation is used in
286
	 * a JLS2 AST
286
	 * a JLS2 AST
287
	 * @since 3.1
287
	 * @since 3.1
Lines 407-413 Link Here
407
	 * type of node will trigger an exception.
407
	 * type of node will trigger an exception.
408
	 *
408
	 *
409
	 * @return the live list of variable declaration fragments in this
409
	 * @return the live list of variable declaration fragments in this
410
	 *    expression (element type: <code>VariableDeclarationFragment</code>)
410
	 *    expression (element type: {@link VariableDeclarationFragment})
411
	 */
411
	 */
412
	public List fragments() {
412
	public List fragments() {
413
		return this.variableDeclarationFragments;
413
		return this.variableDeclarationFragments;
(-)dom/org/eclipse/jdt/core/dom/VariableDeclarationFragment.java (-4 / +4 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 32-52 Link Here
32
public class VariableDeclarationFragment extends VariableDeclaration {
32
public class VariableDeclarationFragment extends VariableDeclaration {
33
33
34
	/**
34
	/**
35
	 * The "name" structural property of this node type.
35
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
36
	 * @since 3.0
36
	 * @since 3.0
37
	 */
37
	 */
38
	public static final ChildPropertyDescriptor NAME_PROPERTY =
38
	public static final ChildPropertyDescriptor NAME_PROPERTY =
39
		new ChildPropertyDescriptor(VariableDeclarationFragment.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
39
		new ChildPropertyDescriptor(VariableDeclarationFragment.class, "name", SimpleName.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
40
40
41
	/**
41
	/**
42
	 * The "extraDimensions" structural property of this node type.
42
	 * The "extraDimensions" structural property of this node type (type: {@link Integer}).
43
	 * @since 3.0
43
	 * @since 3.0
44
	 */
44
	 */
45
	public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY =
45
	public static final SimplePropertyDescriptor EXTRA_DIMENSIONS_PROPERTY =
46
		new SimplePropertyDescriptor(VariableDeclarationFragment.class, "extraDimensions", int.class, MANDATORY); //$NON-NLS-1$
46
		new SimplePropertyDescriptor(VariableDeclarationFragment.class, "extraDimensions", int.class, MANDATORY); //$NON-NLS-1$
47
47
48
	/**
48
	/**
49
	 * The "initializer" structural property of this node type.
49
	 * The "initializer" structural property of this node type (child type: {@link Expression}).
50
	 * @since 3.0
50
	 * @since 3.0
51
	 */
51
	 */
52
	public static final ChildPropertyDescriptor INITIALIZER_PROPERTY =
52
	public static final ChildPropertyDescriptor INITIALIZER_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/VariableDeclarationStatement.java (-8 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2009 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 48-75 Link Here
48
public class VariableDeclarationStatement extends Statement {
48
public class VariableDeclarationStatement extends Statement {
49
49
50
	/**
50
	/**
51
	 * The "modifiers" structural property of this node type (JLS2 API only).
51
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
52
	 * @since 3.0
52
	 * @since 3.0
53
	 */
53
	 */
54
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
54
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
55
		new SimplePropertyDescriptor(VariableDeclarationStatement.class, "modifiers", int.class, MANDATORY); //$NON-NLS-1$
55
		new SimplePropertyDescriptor(VariableDeclarationStatement.class, "modifiers", int.class, MANDATORY); //$NON-NLS-1$
56
56
57
	/**
57
	/**
58
	 * The "modifiers" structural property of this node type (added in JLS3 API).
58
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
59
	 * @since 3.1
59
	 * @since 3.1
60
	 */
60
	 */
61
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
61
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
62
		new ChildListPropertyDescriptor(VariableDeclarationStatement.class, "modifiers", IExtendedModifier.class, CYCLE_RISK); //$NON-NLS-1$
62
		new ChildListPropertyDescriptor(VariableDeclarationStatement.class, "modifiers", IExtendedModifier.class, CYCLE_RISK); //$NON-NLS-1$
63
63
64
	/**
64
	/**
65
	 * The "type" structural property of this node type.
65
	 * The "type" structural property of this node type (child type: {@link Type}).
66
	 * @since 3.0
66
	 * @since 3.0
67
	 */
67
	 */
68
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
68
	public static final ChildPropertyDescriptor TYPE_PROPERTY =
69
		new ChildPropertyDescriptor(VariableDeclarationStatement.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
69
		new ChildPropertyDescriptor(VariableDeclarationStatement.class, "type", Type.class, MANDATORY, NO_CYCLE_RISK); //$NON-NLS-1$
70
70
71
	/**
71
	/**
72
	 * The "fragments" structural property of this node type).
72
	 * The "fragments" structural property of this node type (element type: {@link VariableDeclarationFragment}).
73
	 * @since 3.0
73
	 * @since 3.0
74
	 */
74
	 */
75
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
75
	public static final ChildListPropertyDescriptor FRAGMENTS_PROPERTY =
Lines 127-133 Link Here
127
	}
127
	}
128
128
129
	/**
129
	/**
130
	 * The extended modifiers (element type: <code>IExtendedModifier</code>).
130
	 * The extended modifiers (element type: {@link IExtendedModifier}).
131
	 * Null in JLS2. Added in JLS3; defaults to an empty list
131
	 * Null in JLS2. Added in JLS3; defaults to an empty list
132
	 * (see constructor).
132
	 * (see constructor).
133
	 * @since 3.1
133
	 * @since 3.1
Lines 284-290 Link Here
284
	 * </p>
284
	 * </p>
285
	 *
285
	 *
286
	 * @return the live list of modifiers and annotations
286
	 * @return the live list of modifiers and annotations
287
	 *    (element type: <code>IExtendedModifier</code>)
287
	 *    (element type: {@link IExtendedModifier})
288
	 * @exception UnsupportedOperationException if this operation is used in
288
	 * @exception UnsupportedOperationException if this operation is used in
289
	 * a JLS2 AST
289
	 * a JLS2 AST
290
	 * @since 3.1
290
	 * @since 3.1
Lines 410-416 Link Here
410
	 * exception.
410
	 * exception.
411
	 *
411
	 *
412
	 * @return the live list of variable declaration fragments in this
412
	 * @return the live list of variable declaration fragments in this
413
	 *    statement (element type: <code>VariableDeclarationFragment</code>)
413
	 *    statement (element type: {@link VariableDeclarationFragment})
414
	 */
414
	 */
415
	public List fragments() {
415
	public List fragments() {
416
		return this.variableDeclarationFragments;
416
		return this.variableDeclarationFragments;
(-)dom/org/eclipse/jdt/core/dom/WhileStatement.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2008 IBM Corporation and others.
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 28-41 Link Here
28
public class WhileStatement extends Statement {
28
public class WhileStatement extends Statement {
29
29
30
	/**
30
	/**
31
	 * The "expression" structural property of this node type.
31
	 * The "expression" structural property of this node type (child type: {@link Expression}).
32
	 * @since 3.0
32
	 * @since 3.0
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
34
	public static final ChildPropertyDescriptor EXPRESSION_PROPERTY =
35
		new ChildPropertyDescriptor(WhileStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
35
		new ChildPropertyDescriptor(WhileStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RISK); //$NON-NLS-1$
36
36
37
	/**
37
	/**
38
	 * The "body" structural property of this node type.
38
	 * The "body" structural property of this node type (child type: {@link Statement}).
39
	 * @since 3.0
39
	 * @since 3.0
40
	 */
40
	 */
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
41
	public static final ChildPropertyDescriptor BODY_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/WildcardType.java (-3 / +3 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2003, 2008 IBM Corporation and others.
2
 * Copyright (c) 2003, 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 32-44 Link Here
32
public class WildcardType extends Type {
32
public class WildcardType extends Type {
33
33
34
	/**
34
	/**
35
	 * The "bound" structural property of this node type.
35
	 * The "bound" structural property of this node type (child type: {@link Type}).
36
	 */
36
	 */
37
	public static final ChildPropertyDescriptor BOUND_PROPERTY =
37
	public static final ChildPropertyDescriptor BOUND_PROPERTY =
38
		new ChildPropertyDescriptor(WildcardType.class, "bound", Type.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
38
		new ChildPropertyDescriptor(WildcardType.class, "bound", Type.class, OPTIONAL, CYCLE_RISK); //$NON-NLS-1$
39
39
40
	/**
40
	/**
41
	 * The "upperBound" structural property of this node type.
41
	 * The "upperBound" structural property of this node type (type: {@link Boolean}).
42
	 */
42
	 */
43
	public static final SimplePropertyDescriptor UPPER_BOUND_PROPERTY =
43
	public static final SimplePropertyDescriptor UPPER_BOUND_PROPERTY =
44
		new SimplePropertyDescriptor(WildcardType.class, "upperBound", boolean.class, MANDATORY); //$NON-NLS-1$
44
		new SimplePropertyDescriptor(WildcardType.class, "upperBound", boolean.class, MANDATORY); //$NON-NLS-1$

Return to bug 322596