You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Position.java 803B

12345678910111213141516171819202122232425262728293031
  1. /* *******************************************************************
  2. * Copyright (c) 2002 Palo Alto Research Center, Incorporated (PARC).
  3. * All rights reserved.
  4. * This program and the accompanying materials are made available
  5. * under the terms of the Eclipse Public License v1.0
  6. * which accompanies this distribution and is available at
  7. * http://www.eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * PARC initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.weaver;
  13. public class Position implements IHasPosition {
  14. private int start, end;
  15. public Position(int start, int end) {
  16. this.start = start;
  17. this.end = end;
  18. }
  19. public int getEnd() {
  20. return end;
  21. }
  22. public int getStart() {
  23. return start;
  24. }
  25. }