diff options
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java')
-rw-r--r-- | org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java index e6bd3448..36c71610 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperMethodInvocation.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2000, 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 + * Copyright (c) 2000, 2005 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ @@ -43,7 +43,7 @@ public class SuperMethodInvocation extends Expression { /** * The "typeArguments" structural property of this node type (added in JLS3 API). - * @since 3.0 + * @since 3.1 */ public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY = new ChildListPropertyDescriptor(SuperMethodInvocation.class, "typeArguments", Type.class, NO_CYCLE_RISK); //$NON-NLS-1$ @@ -74,7 +74,7 @@ public class SuperMethodInvocation extends Expression { * A list of property descriptors (element type: * {@link StructuralPropertyDescriptor}), * or null if uninitialized. - * @since 3.0 + * @since 3.1 */ private static final List PROPERTY_DESCRIPTORS_3_0; @@ -107,7 +107,7 @@ public class SuperMethodInvocation extends Expression { * @since 3.0 */ public static List propertyDescriptors(int apiLevel) { - if (apiLevel == AST.JLS2) { + if (apiLevel == AST.JLS2_INTERNAL) { return PROPERTY_DESCRIPTORS_2_0; } else { return PROPERTY_DESCRIPTORS_3_0; @@ -123,7 +123,7 @@ public class SuperMethodInvocation extends Expression { * The type arguments (element type: <code>Type</code>). * Null in JLS2. Added in JLS3; defaults to an empty list * (see constructor). - * @since 3.0 + * @since 3.1 */ private ASTNode.NodeList typeArguments = null; @@ -277,18 +277,12 @@ public class SuperMethodInvocation extends Expression { /** * Returns the live ordered list of type arguments of this method * invocation (added in JLS3 API). - * <p> - * Note: This API element is only needed for dealing with Java code that uses - * new language features of J2SE 1.5. It is included in anticipation of J2SE - * 1.5 support, which is planned for the next release of Eclipse after 3.0, and - * may change slightly before reaching its final form. - * </p> * * @return the live list of type arguments * (element type: <code>Type</code>) * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST - * @since 3.0 + * @since 3.1 */ public List typeArguments() { // more efficient than just calling unsupportedIn2() to check |