KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > apt > core > internal > declaration > ASTBasedConstructorDeclarationImpl


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 BEA Systems, Inc.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * tyeung@bea.com - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.apt.core.internal.declaration;
12
13 import org.eclipse.core.resources.IFile;
14 import org.eclipse.jdt.apt.core.internal.env.BaseProcessorEnv;
15 import com.sun.mirror.declaration.ConstructorDeclaration;
16
17 import com.sun.mirror.util.DeclarationVisitor;
18
19 public class ASTBasedConstructorDeclarationImpl
20     extends ASTBasedExecutableDeclarationImpl
21     implements ConstructorDeclaration{
22     
23     public ASTBasedConstructorDeclarationImpl(
24             final org.eclipse.jdt.core.dom.BodyDeclaration astNode,
25             final IFile file,
26             final BaseProcessorEnv env)
27     {
28         super(astNode, file, env);
29     }
30     
31     public void accept(DeclarationVisitor visitor)
32     {
33         visitor.visitConstructorDeclaration(this);
34     }
35     
36     public MirrorKind kind(){ return MirrorKind.CONSTRUCTOR; }
37 }
38
Popular Tags