Class Position

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

public class Position extends Object implements IHasPosition
  • Constructor Summary

    Constructors
    Constructor
    Description
    Position​(int start, int end)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The ending index of this location in the character stream This points to the last character in this token.
    int
    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 Details

    • Position

      public Position(int start, int end)
  • Method Details

    • 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