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.

ConstructorInvocationClosure.java 1.1KB

1234567891011121314151617181920212223242526272829303132
  1. /*******************************************************************************
  2. * Copyright (c) 2004 IBM Corporation and others.
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Common Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * http://www.eclipse.org/legal/cpl-v10.html
  7. *
  8. * Contributors:
  9. * IBM Corporation - initial API and implementation
  10. *******************************************************************************/
  11. package org.aspectj.aopalliance;
  12. import java.lang.reflect.Constructor;
  13. import org.aopalliance.intercept.ConstructorInvocation;
  14. import org.aspectj.lang.JoinPoint;
  15. public abstract class ConstructorInvocationClosure extends InvocationJoinPointClosure
  16. implements ConstructorInvocation {
  17. public ConstructorInvocationClosure(JoinPoint jp) {
  18. super(jp);
  19. }
  20. /* (non-Javadoc)
  21. * @see org.aopalliance.intercept.MethodInvocation#getMethod()
  22. */
  23. public Constructor getConstructor() {
  24. return (Constructor) getStaticPart();
  25. }
  26. }