org.aopalliance.intercept.ConstructorInvocation Maven / Gradle / Ivy
package org.aopalliance.intercept;
import java.lang.reflect.Constructor;
/**
* Description of an invocation to a constuctor, given to an
* interceptor upon construtor-call.
*
* A constructor invocation is a joinpoint and can be intercepted
* by a constructor interceptor.
*
* @see ConstructorInterceptor */
public interface ConstructorInvocation extends Invocation {
/**
* Gets the constructor being called.
*
*
This method is a frienly implementation of the {@link
* Joinpoint#getStaticPart()} method (same result).
*
* @return the constructor being called. */
Constructor getConstructor();
}