KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > lang > reflect > SourceLocation


1 /* *******************************************************************
2  * Copyright (c) 1999-2001 Xerox Corporation,
3  * 2002 Palo Alto Research Center, Incorporated (PARC).
4  * All rights reserved.
5  * This program and the accompanying materials are made available
6  * under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * Xerox/PARC initial implementation
12  * ******************************************************************/

13
14
15 package org.aspectj.lang.reflect;
16
17 /** For defining code, the class defined and location in a source file. */
18 public interface SourceLocation {
19     Class JavaDoc getWithinType();
20     
21     String JavaDoc getFileName();
22     int getLine();
23     
24     /**
25      * @deprecated can not be implemented for bytecode weaving, may
26      * be removed in 1.1gold.
27      */

28     int getColumn();
29 }
30
31
Popular Tags