com.caucho.loader.enhancer
Interface MethodEnhancer


public interface MethodEnhancer

Configuration for a method-enhancer builder.


Method Summary
 void enhance(GenClass genClass, JMethod jMethod, JAnnotation jAnn)
          Enhances the method.
 void setAnnotation(java.lang.Class ann)
          Sets the annotation.
 

Method Detail

setAnnotation

void setAnnotation(java.lang.Class ann)
                   throws ConfigException
Sets the annotation.

Throws:
ConfigException

enhance

void enhance(GenClass genClass,
             JMethod jMethod,
             JAnnotation jAnn)
Enhances the method.

Parameters:
genClass - the generated class
jMethod - the method to be enhanced
jAnn - the annotation to be enhanced