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.

Call.java 976B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.ast;
  13. import org.aspectj.weaver.Member;
  14. public class Call extends Test {
  15. // assert m.return value is boolean
  16. private final Member method;
  17. private final Expr[] args;
  18. public Call(Member m, Expr[] args) {
  19. super();
  20. this.method = m;
  21. this.args = args;
  22. }
  23. public void accept(ITestVisitor v) {
  24. v.visit(this);
  25. }
  26. public Expr[] getArgs() {
  27. return args;
  28. }
  29. public Member getMethod() {
  30. return method;
  31. }
  32. }