KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > compiler > apt > model > IElementInfo


1 /*******************************************************************************
2  * Copyright (c) 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  * wharley@bea.com - initial API and implementation
10  *
11  *******************************************************************************/

12
13 package org.eclipse.jdt.internal.compiler.apt.model;
14
15 /**
16  * Additional information available for Elements that are implemented
17  * within the Eclipse APT framework.
18  * @see javax.lang.model.Element
19  * @since 3.3
20  */

21 public interface IElementInfo {
22     /**
23      * Get the project-relative path to the source file that contains this element.
24      * If the element is a PackageElement, the "source file" is package-info.java.
25      * If the element is not recognized or does not exist in the project for some
26      * reason, returns null.
27      * @return the project-relative path, or null.
28      */

29     public String JavaDoc getFileName();
30 }
31
Popular Tags