1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.compiler.ast;
13 import net.sourceforge.phpdt.internal.compiler.ASTVisitor;
14 import net.sourceforge.phpdt.internal.compiler.lookup.BlockScope;
15 import net.sourceforge.phpdt.internal.compiler.lookup.Scope;
17 public class JavadocArrayQualifiedTypeReference extends
18 ArrayQualifiedTypeReference {
20 public int tagSourceStart, tagSourceEnd;
22 public JavadocArrayQualifiedTypeReference(
23 JavadocQualifiedTypeReference typeRef, int dim) {
24 super(typeRef.tokens, dim, typeRef.sourcePositions);
27 protected void reportInvalidType(Scope scope) {
28 scope.problemReporter().javadocInvalidType(this, this.resolvedType,
29 scope.getDeclarationModifiers());
32 protected void reportDeprecatedType(Scope scope) {
33 scope.problemReporter().javadocDeprecatedType(this.resolvedType, this,
34 scope.getDeclarationModifiers());
38 * (non-Javadoc) Redefine to capture javadoc specific signatures
40 * @see net.sourceforge.phpdt.internal.compiler.ast.ASTNode#traverse(net.sourceforge.phpdt.internal.compiler.ASTVisitor,
41 * net.sourceforge.phpdt.internal.compiler.lookup.BlockScope)
43 public void traverse(ASTVisitor visitor, BlockScope scope) {
44 visitor.visit(this, scope);
45 visitor.endVisit(this, scope);