org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.IElementInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aspectjtools Show documentation
Show all versions of aspectjtools Show documentation
AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during
compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based
@AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step.
This library is a superset of AspectJ weaver and hence also of AspectJ runtime.
/*******************************************************************************
* Copyright (c) 2007, 2011 BEA Systems, Inc.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* [email protected] - initial API and implementation
*
*******************************************************************************/
package org.aspectj.org.eclipse.jdt.internal.compiler.apt.model;
/**
* Additional information available for Elements that are implemented
* within the Eclipse APT framework.
* @see javax.lang.model.element.Element
* @since 3.3
*/
public interface IElementInfo {
/**
* Get the project-relative path to the source file that contains this element.
* If the element is a PackageElement, the "source file" is package-info.java.
* If the element is not recognized or does not exist in the project for some
* reason, returns null.
* @return the project-relative path, or null.
*/
public String getFileName();
}