diff options
Diffstat (limited to 'org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java')
-rw-r--r-- | org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java index 8a4d92b43..9f222236d 100644 --- a/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java +++ b/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/WildcardType.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2012 IBM Corporation and others. + * Copyright (c) 2003, 2013 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 @@ -39,7 +39,7 @@ import java.util.List; * @since 3.1 * @noinstantiate This class is not intended to be instantiated by clients. */ -public class WildcardType extends Type { +public class WildcardType extends AnnotatableType { /** * The "bound" structural property of this node type (child type: {@link Type}). @@ -205,7 +205,6 @@ public class WildcardType extends Type { result.setSourceRange(getStartPosition(), getLength()); result.setBound((Type) ASTNode.copySubtree(target, getBound()), isUpperBound()); if (this.ast.apiLevel >= AST.JLS8) { - result.annotations = new ASTNode.NodeList(ANNOTATIONS_PROPERTY); result.annotations.addAll( ASTNode.copySubtrees(target, annotations())); } |