@Module public class MethodTailGenerator<X> extends NullGenerator<X>
| Modifier and Type | Field and Description |
|---|---|
protected MethodTailFactory<X> |
_factory |
protected AnnotatedMethod<? super X> |
_method |
NULL| Constructor and Description |
|---|
MethodTailGenerator(MethodTailFactory<X> factory,
AnnotatedMethod<? super X> method) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateCall(JavaWriter out)
Generates the call to the implementation bean.
|
AnnotatedMethod<? super X> |
getMethod()
Returns the underlying method.
|
boolean |
isApplicationExceptionThrown()
True if the application exceptions are thrown
|
generate, generateApplicationException, generateAsync, generateBeanConstructor, generateBeanPrologue, generateDestroy, generateEpilogue, generateFinally, generateInject, generateMethodPrologue, generatePostCall, generatePostConstruct, generatePostFinally, generatePreCall, generatePreDestroy, generatePreTry, generateProxyConstructor, generateSystemExceptionprotected final MethodTailFactory<X> _factory
protected final AnnotatedMethod<? super X> _method
public MethodTailGenerator(MethodTailFactory<X> factory, AnnotatedMethod<? super X> method)
public AnnotatedMethod<? super X> getMethod()
AspectGeneratorgetMethod in interface AspectGenerator<X>getMethod in class NullGenerator<X>public void generateCall(JavaWriter out) throws java.io.IOException
generateCall in interface AspectGenerator<X>generateCall in class NullGenerator<X>superVar - java code to reference the implementationjava.io.IOExceptionpublic boolean isApplicationExceptionThrown()
NullGeneratorisApplicationExceptionThrown in interface AspectGenerator<X>isApplicationExceptionThrown in class NullGenerator<X>