View | Details | Raw Unified | Return to bug 328115 | Differences between
and this patch

Collapse All | Expand All

(-)dom/org/eclipse/jdt/core/dom/AbstractTypeDeclaration.java (-4 / +4 lines)
Lines 42-48 Link Here
42
42
43
	/**
43
	/**
44
	 * Returns structural property descriptor for the "bodyDeclarations" property
44
	 * Returns structural property descriptor for the "bodyDeclarations" property
45
	 * of this node.
45
	 * of this node (element type: {@link BodyDeclaration}).
46
	 *
46
	 *
47
	 * @return the property descriptor
47
	 * @return the property descriptor
48
	 */
48
	 */
Lines 50-56 Link Here
50
50
51
	/**
51
	/**
52
	 * Returns structural property descriptor for the "bodyDeclarations" property
52
	 * Returns structural property descriptor for the "bodyDeclarations" property
53
	 * of this node.
53
	 * of this node (element type: {@link BodyDeclaration}).
54
	 *
54
	 *
55
	 * @return the property descriptor
55
	 * @return the property descriptor
56
	 * @since 3.1
56
	 * @since 3.1
Lines 61-67 Link Here
61
61
62
	/**
62
	/**
63
	 * Returns structural property descriptor for the "name" property
63
	 * Returns structural property descriptor for the "name" property
64
	 * of this node.
64
	 * of this node (child type: {@link SimpleName}).
65
	 *
65
	 *
66
	 * @return the property descriptor
66
	 * @return the property descriptor
67
	 */
67
	 */
Lines 69-75 Link Here
69
69
70
	/**
70
	/**
71
	 * Returns structural property descriptor for the "name" property
71
	 * Returns structural property descriptor for the "name" property
72
	 * of this node.
72
	 * of this node (child type: {@link SimpleName}).
73
	 *
73
	 *
74
	 * @return the property descriptor
74
	 * @return the property descriptor
75
	 * @since 3.1
75
	 * @since 3.1
(-)dom/org/eclipse/jdt/core/dom/Annotation.java (-2 / +2 lines)
Lines 26-32 Link Here
26
26
27
	/**
27
	/**
28
	 * Returns structural property descriptor for the "typeName" property
28
	 * Returns structural property descriptor for the "typeName" property
29
	 * of this node.
29
	 * of this node (child type: {@link Name}).
30
	 *
30
	 *
31
	 * @return the property descriptor
31
	 * @return the property descriptor
32
	 */
32
	 */
Lines 34-40 Link Here
34
34
35
	/**
35
	/**
36
	 * Returns structural property descriptor for the "typeName" property
36
	 * Returns structural property descriptor for the "typeName" property
37
	 * of this node.
37
	 * of this node (child type: {@link Name}).
38
	 *
38
	 *
39
	 * @return the property descriptor
39
	 * @return the property descriptor
40
	 */
40
	 */
(-)dom/org/eclipse/jdt/core/dom/AnnotationTypeDeclaration.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 46-70 Link Here
46
public class AnnotationTypeDeclaration extends AbstractTypeDeclaration {
46
public class AnnotationTypeDeclaration extends AbstractTypeDeclaration {
47
47
48
	/**
48
	/**
49
	 * The "javadoc" structural property of this node type.
49
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
50
	 */
50
	 */
51
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
51
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
52
		internalJavadocPropertyFactory(AnnotationTypeDeclaration.class);
52
		internalJavadocPropertyFactory(AnnotationTypeDeclaration.class);
53
53
54
	/**
54
	/**
55
	 * The "modifiers" structural property of this node type.
55
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}).
56
	 */
56
	 */
57
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
57
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
58
		internalModifiers2PropertyFactory(AnnotationTypeDeclaration.class);
58
		internalModifiers2PropertyFactory(AnnotationTypeDeclaration.class);
59
59
60
	/**
60
	/**
61
	 * The "name" structural property of this node type.
61
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
62
	 */
62
	 */
63
	public static final ChildPropertyDescriptor NAME_PROPERTY =
63
	public static final ChildPropertyDescriptor NAME_PROPERTY =
64
		internalNamePropertyFactory(AnnotationTypeDeclaration.class);
64
		internalNamePropertyFactory(AnnotationTypeDeclaration.class);
65
65
66
	/**
66
	/**
67
	 * The "bodyDeclarations" structural property of this node type.
67
	 * The "bodyDeclarations" structural property of this node type (element type: {@link BodyDeclaration}).
68
	 */
68
	 */
69
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
69
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
70
		internalBodyDeclarationPropertyFactory(AnnotationTypeDeclaration.class);
70
		internalBodyDeclarationPropertyFactory(AnnotationTypeDeclaration.class);
(-)dom/org/eclipse/jdt/core/dom/AnnotationTypeMemberDeclaration.java (-2 / +2 lines)
Lines 40-52 Link Here
40
public class AnnotationTypeMemberDeclaration extends BodyDeclaration {
40
public class AnnotationTypeMemberDeclaration extends BodyDeclaration {
41
41
42
	/**
42
	/**
43
	 * The "javadoc" structural property of this node type.
43
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
44
	 */
44
	 */
45
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
45
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
46
		internalJavadocPropertyFactory(AnnotationTypeMemberDeclaration.class);
46
		internalJavadocPropertyFactory(AnnotationTypeMemberDeclaration.class);
47
47
48
	/**
48
	/**
49
	 * The "modifiers" structural property of this node type.
49
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}).
50
	 */
50
	 */
51
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
51
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
52
		internalModifiers2PropertyFactory(AnnotationTypeMemberDeclaration.class);
52
		internalModifiers2PropertyFactory(AnnotationTypeMemberDeclaration.class);
(-)dom/org/eclipse/jdt/core/dom/BodyDeclaration.java (-5 / +5 lines)
Lines 80-86 Link Here
80
80
81
	/**
81
	/**
82
	 * Returns structural property descriptor for the "modifiers" property
82
	 * Returns structural property descriptor for the "modifiers" property
83
	 * of this node as used in JLS2.
83
	 * of this node as used in JLS2 (type: {@link Integer}).
84
	 *
84
	 *
85
	 * @return the property descriptor
85
	 * @return the property descriptor
86
	 */
86
	 */
Lines 88-94 Link Here
88
88
89
	/**
89
	/**
90
	 * Returns structural property descriptor for the "modifiers" property
90
	 * Returns structural property descriptor for the "modifiers" property
91
	 * of this node as used in JLS3.
91
	 * of this node as used in JLS3 (element type: {@link IExtendedModifier}).
92
	 *
92
	 *
93
	 * @return the property descriptor
93
	 * @return the property descriptor
94
	 */
94
	 */
Lines 96-102 Link Here
96
96
97
	/**
97
	/**
98
	 * Returns structural property descriptor for the "modifiers" property
98
	 * Returns structural property descriptor for the "modifiers" property
99
	 * of this node as used in JLS3.
99
	 * of this node as used in JLS3 (element type: {@link IExtendedModifier}).
100
	 *
100
	 *
101
	 * @return the property descriptor
101
	 * @return the property descriptor
102
	 * @since 3.1
102
	 * @since 3.1
Lines 108-114 Link Here
108
108
109
	/**
109
	/**
110
	 * Returns structural property descriptor for the "javadoc" property
110
	 * Returns structural property descriptor for the "javadoc" property
111
	 * of this node.
111
	 * of this node (child type: {@link Javadoc}).
112
	 *
112
	 *
113
	 * @return the property descriptor
113
	 * @return the property descriptor
114
	 */
114
	 */
Lines 116-122 Link Here
116
116
117
	/**
117
	/**
118
	 * Returns structural property descriptor for the "javadoc" property
118
	 * Returns structural property descriptor for the "javadoc" property
119
	 * of this node.
119
	 * of this node (child type: {@link Javadoc}).
120
	 *
120
	 *
121
	 * @return the property descriptor
121
	 * @return the property descriptor
122
	 * @since 3.1
122
	 * @since 3.1
(-)dom/org/eclipse/jdt/core/dom/CompilationUnit.java (-3 / +3 lines)
Lines 424-430 Link Here
424
	 * </p>
424
	 * </p>
425
	 *
425
	 *
426
	 * @return an unmodifiable list of comments in increasing order of source
426
	 * @return an unmodifiable list of comments in increasing order of source
427
	 * start position, or <code>null</code> if comment information
427
	 * start position (element type: {@link Comment}, or <code>null</code> if comment information
428
	 * for this compilation unit is not available
428
	 * for this compilation unit is not available
429
	 * @see ASTParser
429
	 * @see ASTParser
430
	 * @since 3.0
430
	 * @since 3.0
Lines 649-655 Link Here
649
	 * compilation unit, in order of appearance.
649
	 * compilation unit, in order of appearance.
650
	 *
650
	 *
651
	 * @return the live list of import declaration nodes
651
	 * @return the live list of import declaration nodes
652
	 *    (elementType: <code>ImportDeclaration</code>)
652
	 *    (elementType: {@link ImportDeclaration})
653
	 */
653
	 */
654
	public List imports() {
654
	public List imports() {
655
		return this.imports;
655
		return this.imports;
Lines 1082-1088 Link Here
1082
     * </p>
1082
     * </p>
1083
	 *
1083
	 *
1084
	 * @return the live list of top-level type declaration
1084
	 * @return the live list of top-level type declaration
1085
	 *    nodes (elementType: <code>AbstractTypeDeclaration</code>)
1085
	 *    nodes (element type: {@link AbstractTypeDeclaration})
1086
	 */
1086
	 */
1087
	public List types() {
1087
	public List types() {
1088
		return this.types;
1088
		return this.types;
(-)dom/org/eclipse/jdt/core/dom/EnumConstantDeclaration.java (-2 / +2 lines)
Lines 42-54 Link Here
42
public class EnumConstantDeclaration extends BodyDeclaration {
42
public class EnumConstantDeclaration extends BodyDeclaration {
43
43
44
	/**
44
	/**
45
	 * The "javadoc" structural property of this node type.
45
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
46
	 */
46
	 */
47
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
47
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
48
		internalJavadocPropertyFactory(EnumConstantDeclaration.class);
48
		internalJavadocPropertyFactory(EnumConstantDeclaration.class);
49
49
50
	/**
50
	/**
51
	 * The "modifiers" structural property of this node type).
51
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}).
52
	 */
52
	 */
53
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
53
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
54
		internalModifiers2PropertyFactory(EnumConstantDeclaration.class);
54
		internalModifiers2PropertyFactory(EnumConstantDeclaration.class);
(-)dom/org/eclipse/jdt/core/dom/EnumDeclaration.java (-4 / +4 lines)
Lines 44-62 Link Here
44
public class EnumDeclaration extends AbstractTypeDeclaration {
44
public class EnumDeclaration extends AbstractTypeDeclaration {
45
45
46
	/**
46
	/**
47
	 * The "javadoc" structural property of this node type.
47
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
48
	 */
48
	 */
49
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
49
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
50
		internalJavadocPropertyFactory(EnumDeclaration.class);
50
		internalJavadocPropertyFactory(EnumDeclaration.class);
51
51
52
	/**
52
	/**
53
	 * The "modifiers" structural property of this node type (added in JLS3 API).
53
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
54
	 */
54
	 */
55
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
55
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
56
		internalModifiers2PropertyFactory(EnumDeclaration.class);
56
		internalModifiers2PropertyFactory(EnumDeclaration.class);
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
	 */
60
	 */
61
	public static final ChildPropertyDescriptor NAME_PROPERTY =
61
	public static final ChildPropertyDescriptor NAME_PROPERTY =
62
		internalNamePropertyFactory(EnumDeclaration.class);
62
		internalNamePropertyFactory(EnumDeclaration.class);
Lines 74-80 Link Here
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$
75
75
76
	/**
76
	/**
77
	 * The "bodyDeclarations" structural property of this node type.
77
	 * The "bodyDeclarations" structural property of this node type (element type: {@link BodyDeclaration}).
78
	 */
78
	 */
79
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
79
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
80
		internalBodyDeclarationPropertyFactory(EnumDeclaration.class);
80
		internalBodyDeclarationPropertyFactory(EnumDeclaration.class);
(-)dom/org/eclipse/jdt/core/dom/FieldDeclaration.java (-3 / +3 lines)
Lines 39-59 Link Here
39
public class FieldDeclaration extends BodyDeclaration {
39
public class FieldDeclaration extends BodyDeclaration {
40
40
41
	/**
41
	/**
42
	 * The "javadoc" structural property of this node type.
42
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
43
	 * @since 3.0
43
	 * @since 3.0
44
	 */
44
	 */
45
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
45
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
46
		internalJavadocPropertyFactory(FieldDeclaration.class);
46
		internalJavadocPropertyFactory(FieldDeclaration.class);
47
47
48
	/**
48
	/**
49
	 * The "modifiers" structural property of this node type (JLS2 API only).
49
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
50
	 * @since 3.0
50
	 * @since 3.0
51
	 */
51
	 */
52
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
52
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
53
		internalModifiersPropertyFactory(FieldDeclaration.class);
53
		internalModifiersPropertyFactory(FieldDeclaration.class);
54
54
55
	/**
55
	/**
56
	 * The "modifiers" structural property of this node type (added in JLS3 API).
56
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
57
	 * @since 3.1
57
	 * @since 3.1
58
	 */
58
	 */
59
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
59
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/Initializer.java (-3 / +3 lines)
Lines 27-47 Link Here
27
public class Initializer extends BodyDeclaration {
27
public class Initializer extends BodyDeclaration {
28
28
29
	/**
29
	/**
30
	 * The "javadoc" structural property of this node type.
30
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
31
	 * @since 3.0
31
	 * @since 3.0
32
	 */
32
	 */
33
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
33
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
34
		internalJavadocPropertyFactory(Initializer.class);
34
		internalJavadocPropertyFactory(Initializer.class);
35
35
36
	/**
36
	/**
37
	 * The "modifiers" structural property of this node type (JLS2 API only).
37
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
38
	 * @since 3.0
38
	 * @since 3.0
39
	 */
39
	 */
40
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
40
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
41
		internalModifiersPropertyFactory(Initializer.class);
41
		internalModifiersPropertyFactory(Initializer.class);
42
42
43
	/**
43
	/**
44
	 * The "modifiers" structural property of this node type (added in JLS3 API).
44
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
45
	 * @since 3.1
45
	 * @since 3.1
46
	 */
46
	 */
47
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
47
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/MarkerAnnotation.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 29-35 Link Here
29
public final class MarkerAnnotation extends Annotation {
29
public final class MarkerAnnotation extends Annotation {
30
30
31
	/**
31
	/**
32
	 * The "typeName" structural property of this node type.
32
	 * The "typeName" structural property of this node type (child type: {@link Name}).
33
	 */
33
	 */
34
	public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY =
34
	public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY =
35
		internalTypeNamePropertyFactory(MarkerAnnotation.class);
35
		internalTypeNamePropertyFactory(MarkerAnnotation.class);
(-)dom/org/eclipse/jdt/core/dom/MethodDeclaration.java (-2 / +2 lines)
Lines 75-88 Link Here
75
		internalJavadocPropertyFactory(MethodDeclaration.class);
75
		internalJavadocPropertyFactory(MethodDeclaration.class);
76
76
77
	/**
77
	/**
78
	 * The "modifiers" structural property of this node type (JLS2 API only).
78
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
79
	 * @since 3.0
79
	 * @since 3.0
80
	 */
80
	 */
81
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
81
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
82
		internalModifiersPropertyFactory(MethodDeclaration.class);
82
		internalModifiersPropertyFactory(MethodDeclaration.class);
83
83
84
	/**
84
	/**
85
	 * The "modifiers" structural property of this node type (added in JLS3 API).
85
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
86
	 * @since 3.1
86
	 * @since 3.1
87
	 */
87
	 */
88
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
88
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/NormalAnnotation.java (-1 / +1 lines)
Lines 28-34 Link Here
28
public final class NormalAnnotation extends Annotation {
28
public final class NormalAnnotation extends Annotation {
29
29
30
	/**
30
	/**
31
	 * The "typeName" structural property of this node type.
31
	 * The "typeName" structural property of this node type (child type: {@link Name}).
32
	 */
32
	 */
33
	public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY =
33
	public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY =
34
		internalTypeNamePropertyFactory(NormalAnnotation.class);
34
		internalTypeNamePropertyFactory(NormalAnnotation.class);
(-)dom/org/eclipse/jdt/core/dom/SingleMemberAnnotation.java (-1 / +1 lines)
Lines 31-37 Link Here
31
public final class SingleMemberAnnotation extends Annotation {
31
public final class SingleMemberAnnotation extends Annotation {
32
32
33
	/**
33
	/**
34
	 * The "typeName" structural property of this node type.
34
	 * The "typeName" structural property of this node type (child type: {@link Name}).
35
	 */
35
	 */
36
	public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY =
36
	public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY =
37
		internalTypeNamePropertyFactory(SingleMemberAnnotation.class);
37
		internalTypeNamePropertyFactory(SingleMemberAnnotation.class);
(-)dom/org/eclipse/jdt/core/dom/SuperConstructorInvocation.java (-1 / +1 lines)
Lines 49-55 Link Here
49
		new ChildListPropertyDescriptor(SuperConstructorInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
49
		new ChildListPropertyDescriptor(SuperConstructorInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$
50
50
51
	/**
51
	/**
52
	 * The "arguments" structural property of this node type.
52
	 * The "arguments" structural property of this node type (element type: {@link Expression}).
53
	 * @since 3.0
53
	 * @since 3.0
54
	 */
54
	 */
55
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
55
	public static final ChildListPropertyDescriptor ARGUMENTS_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/TagElement.java (-1 / +1 lines)
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: {@link ASTNode})
359
	 * (element type: {@link IDocElement})
360
	 */
360
	 */
361
	public List fragments() {
361
	public List fragments() {
362
		return this.fragments;
362
		return this.fragments;
(-)dom/org/eclipse/jdt/core/dom/TypeDeclaration.java (-5 / +5 lines)
Lines 69-89 Link Here
69
public class TypeDeclaration extends AbstractTypeDeclaration {
69
public class TypeDeclaration extends AbstractTypeDeclaration {
70
70
71
	/**
71
	/**
72
	 * The "javadoc" structural property of this node type.
72
	 * The "javadoc" structural property of this node type (child type: {@link Javadoc}).
73
	 * @since 3.0
73
	 * @since 3.0
74
	 */
74
	 */
75
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
75
	public static final ChildPropertyDescriptor JAVADOC_PROPERTY =
76
		internalJavadocPropertyFactory(TypeDeclaration.class);
76
		internalJavadocPropertyFactory(TypeDeclaration.class);
77
77
78
	/**
78
	/**
79
	 * The "modifiers" structural property of this node type (JLS2 API only).
79
	 * The "modifiers" structural property of this node type (type: {@link Integer}) (JLS2 API only).
80
	 * @since 3.0
80
	 * @since 3.0
81
	 */
81
	 */
82
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
82
	public static final SimplePropertyDescriptor MODIFIERS_PROPERTY =
83
		internalModifiersPropertyFactory(TypeDeclaration.class);
83
		internalModifiersPropertyFactory(TypeDeclaration.class);
84
84
85
	/**
85
	/**
86
	 * The "modifiers" structural property of this node type (added in JLS3 API).
86
	 * The "modifiers" structural property of this node type (element type: {@link IExtendedModifier}) (added in JLS3 API).
87
	 * @since 3.1
87
	 * @since 3.1
88
	 */
88
	 */
89
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
89
	public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY =
Lines 97-103 Link Here
97
		new SimplePropertyDescriptor(TypeDeclaration.class, "interface", boolean.class, MANDATORY); //$NON-NLS-1$
97
		new SimplePropertyDescriptor(TypeDeclaration.class, "interface", boolean.class, MANDATORY); //$NON-NLS-1$
98
98
99
	/**
99
	/**
100
	 * The "name" structural property of this node type.
100
	 * The "name" structural property of this node type (child type: {@link SimpleName}).
101
	 * @since 3.0
101
	 * @since 3.0
102
	 */
102
	 */
103
	public static final ChildPropertyDescriptor NAME_PROPERTY =
103
	public static final ChildPropertyDescriptor NAME_PROPERTY =
Lines 139-145 Link Here
139
		new ChildListPropertyDescriptor(TypeDeclaration.class, "typeParameters", TypeParameter.class, NO_CYCLE_RISK); //$NON-NLS-1$
139
		new ChildListPropertyDescriptor(TypeDeclaration.class, "typeParameters", TypeParameter.class, NO_CYCLE_RISK); //$NON-NLS-1$
140
140
141
	/**
141
	/**
142
	 * The "bodyDeclarations" structural property of this node type (added in JLS3 API).
142
	 * The "bodyDeclarations" structural property of this node type (element type: {@link BodyDeclaration}) (added in JLS3 API).
143
	 * @since 3.0
143
	 * @since 3.0
144
	 */
144
	 */
145
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
145
	public static final ChildListPropertyDescriptor BODY_DECLARATIONS_PROPERTY =
(-)dom/org/eclipse/jdt/core/dom/VariableDeclaration.java (-7 / +7 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 30-36 Link Here
30
30
31
	/**
31
	/**
32
	 * Returns structural property descriptor for the "extraDimensions" property
32
	 * Returns structural property descriptor for the "extraDimensions" property
33
	 * of this node.
33
	 * of this node (type: {@link Integer}).
34
	 *
34
	 *
35
	 * @return the property descriptor
35
	 * @return the property descriptor
36
	 * @since 3.1
36
	 * @since 3.1
Lines 39-45 Link Here
39
39
40
	/**
40
	/**
41
	 * Returns structural property descriptor for the "extraDimensions" property
41
	 * Returns structural property descriptor for the "extraDimensions" property
42
	 * of this node.
42
	 * of this node (type: {@link Integer}).
43
	 *
43
	 *
44
	 * @return the property descriptor
44
	 * @return the property descriptor
45
	 * @since 3.1
45
	 * @since 3.1
Lines 50-56 Link Here
50
50
51
	/**
51
	/**
52
	 * Returns structural property descriptor for the "initializer" property
52
	 * Returns structural property descriptor for the "initializer" property
53
	 * of this node.
53
	 * of this node (child type: {@link Expression}).
54
	 *
54
	 *
55
	 * @return the property descriptor
55
	 * @return the property descriptor
56
	 * @since 3.1
56
	 * @since 3.1
Lines 59-65 Link Here
59
59
60
	/**
60
	/**
61
	 * Returns structural property descriptor for the "initializer" property
61
	 * Returns structural property descriptor for the "initializer" property
62
	 * of this node.
62
	 * of this node (child type: {@link Expression}).
63
	 *
63
	 *
64
	 * @return the property descriptor
64
	 * @return the property descriptor
65
	 * @since 3.1
65
	 * @since 3.1
Lines 70-76 Link Here
70
70
71
	/**
71
	/**
72
	 * Returns structural property descriptor for the "name" property
72
	 * Returns structural property descriptor for the "name" property
73
	 * of this node.
73
	 * of this node (child type: {@link SimpleName}).
74
	 *
74
	 *
75
	 * @return the property descriptor
75
	 * @return the property descriptor
76
	 * @since 3.1
76
	 * @since 3.1
Lines 79-85 Link Here
79
79
80
	/**
80
	/**
81
	 * Returns structural property descriptor for the "name" property
81
	 * Returns structural property descriptor for the "name" property
82
	 * of this node.
82
	 * of this node (child type: {@link SimpleName}).
83
	 *
83
	 *
84
	 * @return the property descriptor
84
	 * @return the property descriptor
85
	 * @since 3.1
85
	 * @since 3.1

Return to bug 328115