org.eclipse.jetty.annotations
接口 AnnotationParser.DiscoverableAnnotationHandler

所有超级接口:
AnnotationParser.Handler
所有已知实现类:
AbstractDiscoverableAnnotationHandler, ContainerInitializerAnnotationHandler, WebFilterAnnotationHandler, WebListenerAnnotationHandler, WebServletAnnotationHandler
包容类:
AnnotationParser

public static interface AnnotationParser.DiscoverableAnnotationHandler
extends AnnotationParser.Handler

DiscoverableAnnotationHandler Processes an annotation when it is discovered on a class.


方法摘要
 String getAnnotationName()
          Get the name of the annotation processed by this handler.
 void handleClass(String className, int version, int access, String signature, String superName, String[] interfaces, String annotation, List<AnnotationParser.Value> values)
          Process an annotation that was discovered on a class
 void handleField(String className, String fieldName, int access, String fieldType, String signature, Object value, String annotation, List<AnnotationParser.Value> values)
          Process an annotation that was discovered on a field
 void handleMethod(String className, String methodName, int access, String desc, String signature, String[] exceptions, String annotation, List<AnnotationParser.Value> values)
          Process an annotation that was discovered on a method
 

方法详细信息

handleClass

void handleClass(String className,
                 int version,
                 int access,
                 String signature,
                 String superName,
                 String[] interfaces,
                 String annotation,
                 List<AnnotationParser.Value> values)
Process an annotation that was discovered on a class

参数:
className -
version -
access -
signature -
superName -
interfaces -
annotation -
values -

handleMethod

void handleMethod(String className,
                  String methodName,
                  int access,
                  String desc,
                  String signature,
                  String[] exceptions,
                  String annotation,
                  List<AnnotationParser.Value> values)
Process an annotation that was discovered on a method

参数:
className -
methodName -
access -
desc -
signature -
exceptions -
annotation -
values -

handleField

void handleField(String className,
                 String fieldName,
                 int access,
                 String fieldType,
                 String signature,
                 Object value,
                 String annotation,
                 List<AnnotationParser.Value> values)
Process an annotation that was discovered on a field

参数:
className -
fieldName -
access -
fieldType -
signature -
value -
annotation -
values -

getAnnotationName

String getAnnotationName()
Get the name of the annotation processed by this handler. Can be null

返回:


Copyright © 2013. All Rights Reserved.