KickJava   Java API By Example, From Geeks To Geeks.

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


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.jdt.apt.core.internal.env.BaseProcessorEnv;
14
15 /**
16  * The base of all eclipse type system object
17  * @author tyeung
18  *
19  */

20 public interface EclipseMirrorObject {
21     
22     public enum MirrorKind
23     {
24         CONSTRUCTOR,
25         METHOD,
26         ANNOTATION_ELEMENT,
27         FIELD,
28         ENUM_CONSTANT,
29         ANNOTATION_VALUE,
30         ANNOTATION_MIRROR,
31         TYPE_ANNOTATION,
32         TYPE_INTERFACE,
33         TYPE_CLASS,
34         TYPE_ENUM,
35         TYPE_ARRAY,
36         TYPE_WILDCARD,
37         TYPE_VOID,
38         TYPE_PRIMITIVE,
39         TYPE_PARAMETER_VARIABLE,
40         TYPE_ERROR,
41         FORMAL_PARAMETER,
42         PACKAGE
43     }
44
45     public MirrorKind kind();
46     
47     /**
48      * @return the processor environment associated with the object.
49      * return null for primitive, void and error type.
50      */

51     public BaseProcessorEnv getEnvironment();
52
53
54 }
55
Popular Tags