org.aopalliance.reflect
Interface UnitLocator

All Superinterfaces:
Locator
All Known Subinterfaces:
ClassLocator

public interface UnitLocator
extends Locator

This interface represents a locator on a base program structural unit.

A program unit represents any structural part of the program (i.e. any part excepting code) such as a class, a method, a field...

Unit locators are quite different from code locators.

See Also:
ProgramUnit, ProgramUnit.getLocator(), CodeLocator