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.

MockJoinPoint.java 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Created on 07-May-2004
  3. *
  4. * TODO To change the template for this generated file go to
  5. * Window - Preferences - Java - Code Generation - Code and Comments
  6. */
  7. package org.aspectj.aopalliance.tests;
  8. import org.aspectj.lang.JoinPoint;
  9. import org.aspectj.lang.Signature;
  10. import org.aspectj.lang.reflect.SourceLocation;
  11. class MockJoinPoint implements JoinPoint {
  12. private Object me;
  13. private Signature sig;
  14. private Object[] args;
  15. public MockJoinPoint(Object me, Signature sig, Object[] args) {
  16. this.me = me;
  17. this.sig = sig;
  18. this.args = args;
  19. }
  20. public Object[] getArgs() {
  21. return args;
  22. }
  23. public String getKind() {
  24. return null;
  25. }
  26. public Signature getSignature() {
  27. return sig;
  28. }
  29. public SourceLocation getSourceLocation() {
  30. return null;
  31. }
  32. public StaticPart getStaticPart() {
  33. return null;
  34. }
  35. public Object getTarget() {
  36. return null;
  37. }
  38. public Object getThis() {
  39. return me;
  40. }
  41. public String toLongString() {
  42. return null;
  43. }
  44. public String toShortString() {
  45. return null;
  46. }
  47. }