org.aspectj.weaver
Class Position

java.lang.Object
  extended by org.aspectj.weaver.Position
All Implemented Interfaces:
IHasPosition

public class Position
extends java.lang.Object
implements IHasPosition


Constructor Summary
Position(int start, int end)
           
 
Method Summary
 int getEnd()
          The ending index of this location in the character stream This points to the last character in this token.
 int getStart()
          The starting index of this location in the character stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Position

public Position(int start,
                int end)
Method Detail

getEnd

public int getEnd()
Description copied from interface: IHasPosition
The ending index of this location in the character stream This points to the last character in this token. If a location truly had no contents, then start == end + 1. We don't recommend this.

Specified by:
getEnd in interface IHasPosition

getStart

public int getStart()
Description copied from interface: IHasPosition
The starting index of this location in the character stream.

Specified by:
getStart in interface IHasPosition