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.

PerClauseImpl.java 930B

123456789101112131415161718192021222324252627282930313233343536
  1. /* *******************************************************************
  2. * Copyright (c) 2005 Contributors.
  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://eclipse.org/legal/epl-v10.html
  8. *
  9. * Contributors:
  10. * Adrian Colyer Initial implementation
  11. * ******************************************************************/
  12. package org.aspectj.internal.lang.reflect;
  13. import org.aspectj.lang.reflect.PerClause;
  14. import org.aspectj.lang.reflect.PerClauseKind;
  15. /**
  16. * @author colyer
  17. *
  18. */
  19. public class PerClauseImpl implements PerClause {
  20. private final PerClauseKind kind;
  21. protected PerClauseImpl(PerClauseKind kind) {
  22. this.kind = kind;
  23. }
  24. public PerClauseKind getKind() {
  25. return kind;
  26. }
  27. public String toString() {
  28. return "issingleton()";
  29. }
  30. }